-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Did the '--no-site-packages' flag recently disappear? #1681
Comments
OK, it looks like it disappeared in 20.0.0. Can't find a trace of it there, but it's present in 16.7.9. Since that answers my question, I'll close this. Sorry for the noise! |
Hello, you can still find the legacy (v16) documentation here https://virtualenv.pypa.io/en/legacy/reference.html. v20 aimes to be cli compatible with v16 baring some flags that have been deprecated for years now. https://virtualenv.pypa.io/en/legacy/reference.html#cmdoption-no-site-packages is one of this, so we've dropped it during the migration to the new major version. We're sorry if this caused issues for you, you're right we should have mentioned it somewhere in our release changelog though. |
Have just met this issue too, not much a problem since I find it early but it should be in released notes. |
@vietvudanh I'm a bit surprised how this long-deprecated no-op flag is still used by people 😱 |
@gaborbernat I did not explicitly use the flag myself, Well, I think I might be the only one to have this problem with our offline Spark cluster (v2.3.2, HDP stack v3.1), and I am the only Python dev in our mostly Scalar dev team. |
Some readthedocs jobs recently started failing with a complaint from virtualenv about
--no-site-packages
(readthedocs/readthedocs.org#6725). It seems readthedocs passes this flag unless--system-site-packages
is requested. From the logs it seems there used to be a flag by this name, and then its behavior was made the default (around 2012?), but the flag was kept. Did it recently get removed? I can't quite nail it by grepping the logs, but this code has apparently been in readthedocs for ages.Python 3.7 on Linux.
The text was updated successfully, but these errors were encountered: