-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[develop] Update to virtualenv module removing pyvenv if Python greater than 3.6 #52279
[develop] Update to virtualenv module removing pyvenv if Python greater than 3.6 #52279
Conversation
…venv, so remove it from the list if we are using 3.6 or higher.
…ng an assert that is compatible with venv.
Can you clarify this, is pyenv deprecated or pyvenv deprecated? Because they are two separate things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyenv
is a tool for installing multiple full versions of python, and is not part of the stdlib
pyvenv
is a binary that used to be provided by python as a replacement for virtualenv, and in python3.6 was deprecated in favor of python -m venv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
What does this PR do?
Beginning in Python 3.6, pyvenv has been deprecated in favor of using venv, so remove it from the list if we are using 3.6 or higher.
What issues does this PR fix or reference?
N/A
Tests written?
No. Tests exist.
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.