Closed raulmeli closed 1 year ago
Maybe not ideal but I fixed it by doing these steps:
source /Users/myuser/.cache/pre-commit/repofaj4nkze/py_env-python3/bin/activate
pip install urllib3==1.26.15
deactivate
I'm surprised about the reported issue, haven't looked yet on ways to reproduce.
The suggested workarkund is good but too manual, I would suggest to check https://pre-commit.com/#config-additional_dependencies as additional_dependencies would allow to add the restriction of urllib3<2
The problem
Hello, when trying to use this hook I'm getting the following error:
The error seems to be thrown by the virtual env of the repo, and not my local Python version, but I could be misunderstanding that.
Tried but didn't work
So far I tried:
/Users/myuser/.cache/pre-commit/*
My setup/environment
.pre-commit-config.yaml
I also tried with the version 2.8.0 of this repo (and deleted the cache of pre-commit) and nothing changed, same error.