diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03e4db20..cde90cb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: os: [ubuntu-20.04] python-version: - '3.8' + - '3.11' - '3.12' toxenv: [django42-celery53-drflatest, django42-celery53-drflatest, quality, docs, django42] diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 335a4c83..5120b571 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -19,6 +19,7 @@ Unreleased Added +++++ +* Adding python 3.11 support. * Adding python 3.12 support. * Removed django32 support. diff --git a/setup.py b/setup.py index 5ac6cf2c..a44b0abe 100644 --- a/setup.py +++ b/setup.py @@ -125,6 +125,7 @@ def is_requirement(line): 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], ) diff --git a/tox.ini b/tox.ini index 17aa2684..c514199a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,25 +1,25 @@ [tox] -envlist = - py{38,312}-django{42}-celery{53}-drf{313,latest} +envlist = + py{38,311,312}-django{42}-celery{53}-drf{313,latest} quality docs [testenv] -deps = +deps = django42: Django>=4.2,<4.3 drflatest: djangorestframework -r{toxinidir}/requirements/test.txt -commands = +commands = python -Wd -m pytest --cov user_tasks {posargs} [testenv:docs] -allowlist_externals = +allowlist_externals = make rm deps = setuptools wheel -r{toxinidir}/requirements/doc.txt -commands = +commands = doc8 --ignore-path docs/_build --ignore-path docs/rest_api.rst README.rst docs rm -f docs/user_tasks.rst rm -f docs/modules.rst @@ -29,15 +29,15 @@ commands = twine check dist/* [testenv:quality] -allowlist_externals = +allowlist_externals = make rm touch -deps = +deps = -r{toxinidir}/requirements/doc.txt -r{toxinidir}/requirements/quality.txt -r{toxinidir}/requirements/test.txt -commands = +commands = touch tests/__init__.py pylint user_tasks pylint tests