Skip to content

Commit 53f1d79

Browse files
authored
Python v3.8+ (#65)
* Python v3.8+ Align with https://github.com/celery/celery/blob/main/setup.py#L173 * setup.py: Programming Language :: Python :: 3.12 * tox.ini: Add Py310, Py311, Py312
1 parent 2edcc1f commit 53f1d79

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v3.15.0
44
hooks:
55
- id: pyupgrade
6-
args: ["--py36-plus"]
6+
args: ["--py38-plus"]
77

88
- repo: https://github.com/PyCQA/flake8
99
rev: 7.0.0

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
Development Status :: 5 - Production/Stable
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
19-
Programming Language :: Python :: 3.7
2019
Programming Language :: Python :: 3.8
2120
Programming Language :: Python :: 3.9
21+
Programming Language :: Python :: 3.10
22+
Programming Language :: Python :: 3.11
23+
Programming Language :: Python :: 3.12
2224
License :: OSI Approved :: BSD License
2325
Intended Audience :: Developers
2426
Operating System :: OS Independent

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = 3.7,3.8,3.9,pypy3,flake8
2+
envlist = 3.8,3.9,3.10,3.11,3.12,pypy3,flake8
33

44
[testenv]
55
deps=
@@ -13,9 +13,11 @@ commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
1313

1414
basepython =
1515

16+
3.12: python3.12
17+
3.11: python3.11
18+
3.10: python3.10
1619
3.9: python3.9
1720
3.8: python3.8
18-
3.7: python3.7
1921
pypy3: pypy3
2022

2123
[testenv:docs]
@@ -27,4 +29,3 @@ commands =
2729
deps = -r{toxinidir}/requirements/pkgutils.txt
2830
commands =
2931
flake8 --ignore=X999 {toxinidir}/sphinx_celery
30-

0 commit comments

Comments
 (0)