Skip to content

Commit 08c199b

Browse files
committed
Depend on setuptools since Python 3.12
The dependency was already added specifically for CI, but that is not correct, because it's the package itself that actually depends on setuptools
1 parent 76677ea commit 08c199b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ def run(self):
6767
# higher.
6868
# Python 3.9 and later include zoneinfo which replaces pytz
6969
'pytz>=2015.7; python_version<"3.9"',
70+
# https://github.com/python/cpython/issues/95299
71+
# https://github.com/python-babel/babel/issues/1031
72+
'setuptools; python_version>="3.12"',
7073
],
7174
extras_require={
7275
'dev': [

tox.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ envlist =
88
extras =
99
dev
1010
deps =
11-
# including setuptools here for CI;
12-
# see https://github.com/python/cpython/issues/95299
13-
# see https://github.com/python-babel/babel/issues/1005#issuecomment-1728105742
14-
setuptools;python_version>="3.12"
1511
backports.zoneinfo;python_version<"3.9"
1612
tzdata;sys_platform == 'win32'
1713
pytz: pytz

0 commit comments

Comments
 (0)