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:
James Gilmore 2024-03-27 20:01:19 +00:00 committed by James Gilmore
parent a9f19f4cc0
commit 6089049a54

View file

@ -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]