Skip to content

Commit 2d9c6ff

Browse files
committed
Add separate setuptools requirements for Python 3.7 and 3.8
68.0.0 is the most recent version of setuptools to support Python 3.7, and 75.3.2 is the most recent version to support Python 3.8.
1 parent ca3fd9d commit 2d9c6ff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ requires = [
1313
# expressions (in compliance with PEP 639):
1414
# https://setuptools.pypa.io/en/stable/history.html#v77-0-0
1515
#
16-
# Unfortunately setuptools 77.0.0 does not support Python 3.7 and
17-
# 3.8.
18-
"setuptools>=61.0.0"
16+
# setuptools>=68.0.0 was the last version to support Python 3.7.
17+
#
18+
# setuptools>=75.3.2 was the last version to support Python 3.7.
19+
"setuptools>=68.0.0; python_version == '3.7'",
20+
"setuptools>=75.3.2; python_version == '3.8'",
21+
"setuptools>=77.0.0; python_version >= '3.9'",
1922
]
2023

2124
[project]

0 commit comments

Comments
 (0)