Skip to content
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

Patch out EXTERNALLY-MANAGED for self-check tests #13179

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

ichard26
Copy link
Member

This helps redistributors test against their distro Python w/o spurious errors.

Fixes #13176

If you have time @christian-heusel, I'd appreciate a test from you. You can download the source via https://github.com/ichard26/pip/archive/test-hotfix.zip

This helps redistributors test against their distro Python w/o
spurious errors.
@ichard26 ichard26 added C: tests Testing and related things skip news Does not need a NEWS file entry (eg: trivial changes) labels Jan 26, 2025
@ichard26 ichard26 added this to the 25.1 milestone Jan 26, 2025
@christian-heusel
Copy link

christian-heusel commented Jan 26, 2025

I can confirm that applying this patch on top of the 25.0 release fixes the issue for me, thanks for the incredibly fast fix, that's awesome! 🎉

@ichard26
Copy link
Member Author

For those wondering about whether the self-check being disabled under an EXTERNALLY-MANAGED enviornment is still tested after this patch, yes it is, there's another unit test for this. I've decided to patch out EXTERNALLY-MANAGED for this test as it's testing the underlying implementation of the self-check, which should really be done regardless of the environment status.

@ichard26 ichard26 enabled auto-merge (squash) January 26, 2025 15:42
@ichard26 ichard26 merged commit 6f8a784 into pypa:main Jan 26, 2025
31 checks passed
@ichard26 ichard26 deleted the test-hotfix branch January 26, 2025 15:50
@sbidoul sbidoul modified the milestones: 25.1, 25.0 Jan 26, 2025
sbidoul pushed a commit to sbidoul/pip that referenced this pull request Feb 9, 2025
This helps redistributors test against their distro Python w/o
spurious errors.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: tests Testing and related things skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure when environment is EXTERNALLY-MANAGED
4 participants