Replace pipenv
veit opened this issue · 6 comments
Since pipenv doesn’t seem to be further developed (see If this project is dead, just tell us #4058 it’s time to look around for alternatives.
- pip-tools for dependency management including automation of updates.
- venv, possibly supplemented by pex or shiv.
- pipdeptree print the dependency tree of the installed packages
Unfortunately, Poetry can’t install packages along with their dependencies in an explicitly specified virtual environment. However, this makes CI much easier.
Poetry can install packages to existing venv: just activate it and try poetry install
Also, you can explicitly configure poetry to use your venv, or to use system wide python, see https://python-poetry.org/docs/configuration/ (virtualenvs.*
params)
Why? We use poetry for installing project dependencies to system-wide python as described here:
https://python-poetry.org/docs/managing-environments/#switching-between-environments
However, I need the ability to install the current package along with its dependencies in a specific environment that I can completely specify, including architecture and compilers.