You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-commit no longer works on Windows when using Pip v22
Expected behavior
If pre-commit is installed it should be able to add a Git hook to the .git/hooks folder.
Additionally, running the pre-commit command should produce output.
pip version
22
Python version
3.10
OS
Windows 10
How to Reproduce
Install Python 3.10 and Git (including Git Bash) on Windows 10
Please report to pre-commit for the issue. pip maintainers don’t understand how pre-commit install works and can’t provide meaningful support without input from pre-commit. Feel free to report back and reopen if pre-commit identifies more information on how the issue related to pip.
Description
Pre-commit no longer works on Windows when using Pip v22
Expected behavior
If
pre-commit
is installed it should be able to add a Git hook to the.git/hooks
folder.Additionally, running the
pre-commit
command should produce output.pip version
22
Python version
3.10
OS
Windows 10
How to Reproduce
The final two lines will do nothing with Pip v22.
If the
python -m pip install pip --upgrade
step is skipped then pre-commit will work as expected.Output
There will be no output using Pip v22 (but there should be).
Code of Conduct
The text was updated successfully, but these errors were encountered: