-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Add --upgrade-deps to venv module #78737
Comments
I'd like to propose add a Example Usage: This will allow me to skip my next command that I usually always do: Thoughts? If people are happy, I will look at doing the PR. I would envision I'll either import (which seems to be a no no from pip maintainers) the upgrade code or just fork pip ... |
This sounds good to me; my Rather than importing or forking, I would expect this could just be done by invoking the venv's pip as a subprocess. Also, it would need to be a different flag than |
Thanks for hi-lighting, yes, sorry. I should of been clearer here. What should we use other than
In regards to using subprocess, it calls exec or fork to run the child process/command, so that's what I wished to communicate via the term 'fork'. |
Can this issue be closed now? |
I believe so - Would love it could be included with latest 3.8 or is there no chance of that? |
Unfortunately not, I think, as it missed the cut for 3.8beta1. Never mind! Thanks for your contribution. |
That’s very disappointing. I had the very small PR ready to merge ~3 weeks before beta1. I now have to wait ~1.5years to be able to use this anywhere that I won’t be back porting it. I am happy to be on the hook and forward fix anything it causes, but as a new CLI argument that does nothing unless specified, I can’t really see any disadvantages of merging this into 3.8. Is there any way other than discussing with the release manager to have this considered? |
I don't believe so. |
I noticed this new feature was not added to the Python 3.9 what's new: https://docs.python.org/3.9/whatsnew/3.9.html#venv Should it be? |
Use `python3-pil` Debian package instead of `python3-pillow` package. Debian changed the name of the package in their repository, but it is still built from the `Pillow` PyPi project. Use `venv --upgrade-deps` instead of `pip install --upgrade setuptools`. Starting with Python version 3.9, `venv` supports automatically installing the latest versions of `pip` and `setuptools` by using the `--upgrade-deps` flag; see [https://github.com/python/cpython/issues/78737]() for details. `pip` seems to have trouble deleting currently installed versions of `setuptools` as of late, making it impossible to upgrade and thereby breaking the build.
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: