question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

verbose output option for `pipenv lock`

See original GitHub issue

pipenv lock may fail to resolve dependencies if for example there are conflicting requirements on the version number.

At the moment this can be hard to debug, because the problematic dependency may be an indirect dependency, and so there’s no easy way to determine the its location in the dependency tree.

piptools already has some nice logging in place to show how dependencies are resolved. It seems to work recursively, resolving one “layer” of dependencies at a time, and at each layer it prints out, for each “new” dependency, which dependency from the previous layer brought it in.

If a --verbose option was added that enabled this log output it would make it much easier to resolve dependency conflicts. Alternatively, any option which caused it to list not just the constriants on a package, but the source of those constraints too would solve the problem.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

10reactions
kennethreitzcommented, Sep 6, 2017

Released.

1reaction
Diggseycommented, Sep 6, 2017

… wow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage of Pipenv - Read the Docs
The locked requirements are written to stdout, with shell output redirection used ... Pipenv comes with a handful of options that can be...
Read more >
pipenv Documentation - Read the Docs
You can use pipenv lock to compile your dependencies on your development environment and deploy the compiled Pipfile.lock to all of your production...
Read more >
pipenv lock [> requirements.txt] - Fig.io
--clear, Clears caches (pipenv, pip, and pip-tools). -v, --verbose, Verbose mode. --pypi-mirror, If you would like to override the default PyPI index URLs ......
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
Locking Issue: Pipfile Contains a Reference to an Inexistent Package ... Pipfile won't lock when it tries to install packages that don't exist,...
Read more >
Pipenv: Python Dev Workflow for Humans — pipenv 2018.7.1 ...
It also generates the ever-important Pipfile.lock , which is used to produce ... pipenv clean [OPTIONS]. Options. -v , --verbose ¶. Verbose mode....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found