Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depend on setuptools since Python 3.12 #1033

Merged
merged 1 commit into from Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions setup.py
Expand Up @@ -67,6 +67,9 @@ def run(self):
# 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': [
Expand Down
4 changes: 0 additions & 4 deletions tox.ini
Expand Up @@ -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
Expand Down