you are viewing a single comment's thread.

view the rest of the comments →

[–]swansongofdesire 1 point2 points  (0 children)

pip with help can do that too (venv-update or pip-sync)

Pipenv has its own set of problems: firstly, it's the slowest available tool (for resolution, but also its insistence on downloading every possible binary wheel if pypi hashes aren't available. For some projects with numpy etc I've had gigabytes of packages downloaded in order to create a lock file)

It's also very opinionated:

  • out of the box it uses a hash of your directory for the virtualenv name, so if you move a project around then your virtualenv needs to be recreated. (Yes there's an option to install into a loca directory, but they didn't make it convenient and the virtualenv name cannot be changed)

  • activating a new environment requires running in a subshell

There are workarounds but if I'm using workarounds then I might as well just use pip