From d9f1a974865910b602ee544862e915b303398a3b Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Thu, 15 Feb 2024 12:49:47 +0500 Subject: [PATCH] feat: add support for python 3.11 & 3.12 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.rst | 2 ++ completion/__init__.py | 2 +- setup.py | 5 +++-- tox.ini | 3 +-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a87e846..3347c066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [quality, django32-drf314, django32-drflatest, django42-drf314, django42-drflatest] + python-version: ['3.8', '3.11', '3.12'] + toxenv: [quality, django42-drf314, django42-drflatest] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ea60aa9d..c412aa24 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,8 @@ Change Log Unreleased ~~~~~~~~~~ +* Add support for Python 3.11 & 3.12 + [4.4.1] - 2023-10-27 ~~~~~~~~~~~~~~~~~~~~ * Fix RemovedInDjango41Warning by removing `django_app_config` diff --git a/completion/__init__.py b/completion/__init__.py index 8050a702..142bd91a 100644 --- a/completion/__init__.py +++ b/completion/__init__.py @@ -3,4 +3,4 @@ """ -__version__ = '4.4.1' +__version__ = '4.5.0' diff --git a/setup.py b/setup.py index d551a166..ac6d4626 100644 --- a/setup.py +++ b/setup.py @@ -125,12 +125,13 @@ def add_version_constraint_or_raise(current_line, current_requirements, add_if_n classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', - 'Framework :: Django :: 3.2', - 'Framework :: Django :: 4.0', + 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', '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 c61bfd6f..827fc939 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = drf{314,latest},py38-django{32,42} +envlist = drf{314,latest},py{38,311,312}-django{42} [doc8] max-line-length = 120 @@ -19,7 +19,6 @@ norecursedirs = .* docs requirements [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 drf314: djangorestframework<3.15.0 drflatest: djangorestframework