Skip to content

Commit

Permalink
Python v3.8+ (#65)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cclauss authored Jan 18, 2024
1 parent 2edcc1f commit 53f1d79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
args: ["--py38-plus"]

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
Development Status :: 5 - Production/Stable
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
License :: OSI Approved :: BSD License
Intended Audience :: Developers
Operating System :: OS Independent
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = 3.7,3.8,3.9,pypy3,flake8
envlist = 3.8,3.9,3.10,3.11,3.12,pypy3,flake8

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

basepython =

3.12: python3.12
3.11: python3.11
3.10: python3.10
3.9: python3.9
3.8: python3.8
3.7: python3.7
pypy3: pypy3

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

0 comments on commit 53f1d79

Please sign in to comment.