-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip 22.1.2 breaks test_venv of CPython 3.11+ #11216
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
It seems like the command is raising unexpected DeprecationWarning. Would you be able to investigate a bit and find out what exactly is the warning causing the failure? |
Installed Python 3.11.0b3 and pip 22.1.2 wheel that ensurepip will use to Fedora 37 chroot:
Inside that chroot:
I think the problem is not a DeprecationWarning (the testes are explicitly ignoring those after all) but a false Requirement already satisfied problem. I think that ensurepip adds the pip.whl to |
If that's the case, it shouldn't be specific to Python 3.11. Does this happen with older versions of Python as well? |
Python 3.11:
|
Ah this is probably related to the importlib.metadata transition. I think there’s an issue on that. |
Yup #11183. Let’s merge these two then. |
Python 3.10:
|
Description
After trying to update pip from 22.0.4 to 22.1.2 in Fedora and doing an impact check, the cpython test suite error's out:
After testing it a bit more, it only happens on Python 3.11 and later.
Expected behavior
No response
pip version
22.1.2
Python version
3.11+
OS
Fedora Linux
How to Reproduce
Get the CPython source code.
From Lib/ensurepip/_bundled remove the 22.0.4 pip wheel and replace it with the latest version.
Make sure that the Lib/ensurepip/__init__.py is updated to reflect the new version:
Compile CPython and run the tests:
$ ./configure && make && ./python -m test -vvw test_venv
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: