From: Oleh Prypin Date: Sat, 7 Oct 2023 10:29:11 +0000 (+0200) Subject: Depend on setuptools since Python 3.12 X-Git-Tag: v2.13.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb2feb13f7273636d2214dbdb3fb780d9b4fa4f;p=thirdparty%2Fbabel.git 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 --- diff --git a/setup.py b/setup.py index a013b788..6d43080d 100755 --- a/setup.py +++ b/setup.py @@ -67,6 +67,9 @@ setup( # higher. # Python 3.9 and later include zoneinfo which replaces pytz 'pytz>=2015.7; python_version<"3.9"', + # https://github.com/python/cpython/issues/95299 + # https://github.com/python-babel/babel/issues/1031 + 'setuptools; python_version>="3.12"', ], extras_require={ 'dev': [ diff --git a/tox.ini b/tox.ini index c2d235fb..dd1b9a6f 100644 --- a/tox.ini +++ b/tox.ini @@ -8,10 +8,6 @@ envlist = extras = dev deps = - # including setuptools here for CI; - # see https://github.com/python/cpython/issues/95299 - # see https://github.com/python-babel/babel/issues/1005#issuecomment-1728105742 - setuptools;python_version>="3.12" backports.zoneinfo;python_version<"3.9" tzdata;sys_platform == 'win32' pytz: pytz