Skip to content

Commit

Permalink
Revert "Merge pull request pypa#12637 from ichard26/refactor/imports"
Browse files Browse the repository at this point in the history
This reverts commit 71a08a7, reversing
changes made to 22142d6.

This patch made the pip self-version check import
`pip._internal.self_outdated_check` on demand. This blows up when
downgrading (and possibly upgrading) pip as it imports the module
_after_ the downgrade, which is problematic as the older self-check logic
is incompatible with the rest of the pip already loaded into memory.
  • Loading branch information
ichard26 committed May 6, 2024
1 parent a7369ba commit ef02102
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 227 deletions.
172 changes: 0 additions & 172 deletions src/pip/_internal/cli/index_command.py

This file was deleted.

0 comments on commit ef02102

Please sign in to comment.