mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix virtualenv lower limit to remain PEP 632 compliant.
In Python 3.12 PEP 632 [0] kicks into effect and removes distutils from the standard libraries. This has downstream effects with older versions of pip (23.1.x) now broken at its core and unable to install anything. As the current low-bound of `virtualenv` installs 23.1.x of pip when you use pre-commit + python 3.12 you also break all your hooks. Since its not normal to explicit set the dependency of `virtualenv` we should increase the lower bounds to also make `pre-commit` PEP 632 compatible. [0] https://peps.python.org/pep-0632/#migration-advice
This commit is contained in:
parent
a9f19f4cc0
commit
6089049a54
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ install_requires =
|
|||
identify>=1.0.0
|
||||
nodeenv>=0.11.1
|
||||
pyyaml>=5.1
|
||||
virtualenv>=20.10.0
|
||||
virtualenv>=20.25.1
|
||||
python_requires = >=3.9
|
||||
|
||||
[options.packages.find]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue