-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Document the deprecation of pyvenv in favor of python3 -m venv
#71472
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
Comments
Per https://bugs.python.org/issue25154 |
It's actually deprecated in Python 3.6: https://docs.python.org/dev/whatsnew/3.6.html#deprecated-features |
I saw the patch in 3.6, yet the discussion in issue bpo-25154 called for deprecation in 3.5.1. Was deprecation of I couldn't find any other relevant discussion, so apologies for jumping in uninformed. |
Basically I changed my mind about adding the code deprecation in 3.5.1 since it wasn't fair to people to run into that in a bugfix release. Documenting the deprecation, though, can happen in Python 3.5.1 as well as updating the documentation of the venv module to only use |
python3 -m venv
I forgot to include the specific URL to update: There may be other places. |
One more. Should that be updated for 3.5.1 as well as 3.6? |
See also: |
Documenting the deprecation in 3.5 is fine. |
I'd like to take on this issue and submit a patch for consideration by 2016-06-26. Please let me know if anyone is working on it. |
No one is working on it, Steve, so feel free to write a patch. |
After looking into this issue, I need guidance to better define scope and intent, and how to go about submitting the changes. I found 81 occurrences of the term
TIA for any guidance. |
In this case I think one patch is good. The deprecation should mention pyvenv in the main venv docs (and maybe installing), but probably nowhere else. See the deprecated-removed sphinx tag. |
Patch attached for review. Notes:
|
Thanks for the patch, Steve! Since this is a bug fix I may take until after 3.6b1 goes out to get reviewed and committed since I need to get any semantic changes in before then (b1 is due out in Sep). So if this patch lingers for a couple months, that will be why. |
New changeset 414f67e000a7 by Brett Cannon in branch 'default': |
Thanks for the patch, Steve! I went ahead and got this done now when I realized your patch touched so many files, thus waiting could lead to skew and the need to update the patch needlessly. |
Thank you! |
Buildbot has errors and warnings: http://buildbot.python.org/all/builders/Docs%203.x/builds/1729/steps/suspicious/logs/stdio make -C Doc/ suspicious WARNING: [library/venv:353] ":param" found in " :param context: The information for the virtual environment" Looks like Doc/tools/susp-ignored.csv and the whatsnew files need adjusting. |
I've attached a patch for the buildbot error at [library/venv:353]. However, as noted in my second bullet point:
I couldn't find a policy that addresses what to do in this situation, so I left it to the council of elders to provide me with their sage guidance. I'll submit a patch as soon as I know which path to follow. |
New changeset 2a34cef7681b by Ned Deily in branch 'default': |
Thanks for the fix up, Steve. For 3.6.0a3, I chose to just change the 3.3 and 3.4 whatsnew references to just in-line code without any links. If anyone wants something fancier, please feel free to expand on it (after the release). (BTW, Steve, when you submit an updated patch, please do so against the current tip of the branch; most of your update patch had already been committed by Brett.) |
Thanks, Ned. This was my first hg patch. I'm learning. |
New changeset 0d8f139a6e19 by Martin Panter in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: