-
Notifications
You must be signed in to change notification settings - Fork 3.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
Test failure when environment is EXTERNALLY-MANAGED #13176
Comments
Do you think this behavior is incorrect? Reading over this I would suggest updating the test to match the new behavior. But let us know if you think otherwise. |
I think the new behavior makes sense and would like to keep that, so I'd say either fixing the test to match the new behavior or skip it with the test framework in case of |
Sorry about the spurious error! I've updated the test to patch out the check as we already have a test for "is the self-check disabled when the environment is externally-managed." I'd like to keep this test, which tests the self-check implementation, working in all situations. |
Also, while we're here. Hi @christian-heusel, good to meet someone from Arch! 👋 Would you be a good point of contact for Python on Arch Linux? This wouldn't be a formal designation or anything. It's just that we (the pip project) may make some changes that have consequences for our redistributors. We'd like to reach out before making them to avoid churn. For example, #13010 was a change where we reached out to our redistributors, but we had no representation from Arch1 Footnotes
|
Hey @ichard26, also glad to meet y'all! 👋🏻 Yes me and @dvzrv are currently maintaining the |
Great, thank you! I'll try to remember your usernames. (Last time I copied the mentions from an old issue, I'll probably do that again whenever the time comes up.) |
Description
Hello everyone! 👋🏻 I package pip for Arch Linux and just noticed that the tests for the update check have not been adapted for the new
EXTERNALLY-MANAGED
/ PEP 668 behaviour:This results in a test failure for the new version (see the outputs below).
cc @dvzrv
Expected behavior
No tests fail.
pip version
25.0
Python version
3.13.1
OS
Arch Linux (rolling)
How to Reproduce
EXTERNALLY-MANAGED
The detailed Build recipe can be found here: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pip/-/blob/main/PKGBUILD?ref_type=heads
Output
(I think) This results in the following test failure:
Code of Conduct
The text was updated successfully, but these errors were encountered: