protect_pip_from_modification_on_windows check breaks some valid use cases #7358
Labels
auto-locked
Outdated issues that have been locked by automation
OS: windows
Windows specific
!release blocker
Hold a release until this is resolved
type: bug
A confirmed bug or unintended behavior
Milestone
Environment
Description
The
protect_pip_from_modification_on_windows
check can error out on some valid use cases (with no attempt to modify the calling pip's executable that would run foul of Windows limitations). E.g.:python src/pip install pip
pip install -t target pip
The call when installing build requirements is probably impacted too.
Setuptools test suite is hit by this issue: see this code. Note that the issue does not seem to occur with Python 2.7.17: https://ci.appveyor.com/project/jaraco/setuptools/builds/28883044.
The text was updated successfully, but these errors were encountered: