Skip to content

Block unexpected imports after install starts - #14247

Open
notatallshaw wants to merge 1 commit into
pypa:mainfrom
notatallshaw:enforce-import-block
Open

Block unexpected imports after install starts#14247
notatallshaw wants to merge 1 commit into
pypa:mainfrom
notatallshaw:enforce-import-block

Conversation

@notatallshaw

@notatallshaw notatallshaw commented Aug 13, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Fixes #13842

This is due in pip 26.3 and I think we should land this early.

@pradyunsg any thoughts given you posted in that issue? Happy to discuss it elsewhere.

PR Checklist:

  • I agree to follow the PSF Code of Conduct.
  • I have read and have followed the CONTRIBUTING.md file.
  • I have added a news file fragment (or this PR does not need one).
  • I have read and followed the AI_POLICY.md file, and if any AI tools were used, I have disclosed it below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected module imports detected during install

1 participant