Skip to content

Commit b850d53

Browse files
committed
Keep using old virtualenv for Python < 3.10
pip uses distutils (instead of sysconfig) for Python < 3.10, which has awkward path issues when faking a user site.
1 parent 4f20a7e commit b850d53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ pytest-rerunfailures
77
pytest-xdist
88
scripttest
99
setuptools
10-
virtualenv >= 20.0
10+
virtualenv < 20.0 ; python_version < '3.10'
11+
virtualenv >= 20.0 ; python_version >= '3.10'
1112
werkzeug
1213
wheel
1314
tomli-w

0 commit comments

Comments
 (0)