Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pipenv #22

Open
veit opened this issue Dec 13, 2019 · 6 comments
Open

Replace pipenv #22

veit opened this issue Dec 13, 2019 · 6 comments

Comments

@veit
Copy link
Owner

veit commented Dec 13, 2019

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.

@b0g3r
Copy link

b0g3r commented Dec 13, 2019

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)

@veit
Copy link
Owner Author

veit commented Dec 13, 2019

@b0g3r: I know, but that’s not suitable for build servers and in CI.

@b0g3r
Copy link

b0g3r commented Dec 13, 2019

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

@veit
Copy link
Owner Author

veit commented Dec 13, 2019

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.

@orsinium
Copy link

DepHell can print dependencies tree and manage virtual environments:

@veit
Copy link
Owner Author

veit commented Dec 22, 2019

Hi @orsinium, thank you for the hint. It’s an Interesting project, but unfortunately I still need Python2 support: many research institutes I know still have legacy Python2 projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants