-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Discussion around PEP 582 (local __pypackages__) #872
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Question
I'm a little hesitant to bring it up because the PEP (https://www.python.org/dev/peps/pep-0582/) hasn't actually been accepted yet. But it seems to have strong traction and support in most places that I've seen it discussed.
As a TLDR: The PEP proposes that python automatically recognise and import packages from a local
__pypackages__
directory over user or global site-packages. The idea being that this gets rid of the need for virtualenvs for python environment isolation as these are an annoying and complicated road block for new users (and, frankly, all users. Hence why poetry abstracts large parts of them away!).To my mind, the PEP looks broadly promising. I have some reservations about it falling back to a system python. I worry about the ease of accidentally installing a bunch of packages globally when you meant to install them locally and how this will effect e.g.
pipx-app
that makes isolating python command line tools much easier.However, assuming the PEP goes through it might be worth considering poetry's role (if any) in implementing this. I am unsure whether their intention is to replace the virtualenv entirely or simply serve as a lower bar to entry for new users but it's worth keeping on the radar in terms of adoption.
The text was updated successfully, but these errors were encountered: