Skip to content

Commit a474d8d

Browse files
committed
Update requirements to be compatible with Python 3.7
Conditionally set importlib_metadata package version based on Python version to ensure compatibility. Also, conditionally set tox version to ensure compatibility with importlib package.
1 parent 90c52a0 commit a474d8d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

requirements_dev.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ bump2version==0.5.11
44
wheel==0.33.6
55
watchdog==0.9.0
66
flake8==3.7.8
7-
tox==4.8.0
87
coverage==4.5.4
98
Sphinx==1.8.5
9+
10+
# Version-specific dependencies
11+
tox==3.24.0; python_version < '3.8'
12+
tox==4.8.0; python_version >= '3.8'
13+
importlib_metadata<5.0.0; python_version < '3.8'
14+
importlib_metadata==7.2.1; python_version >= '3.8'
1015
twine==4.0.2
11-
importlib_metadata==7.2.1 # Pin specific version for twine compatibility https://github.com/astral-sh/rye/issues/1180
1216

1317
pytest==7.4.3
1418
pytest-runner==5.1

0 commit comments

Comments
 (0)