Skip to content

Commit

Permalink
feat: add support for python 3.11 & 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Feb 15, 2024
1 parent f337d10 commit d9f1a97
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion completion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""


__version__ = '4.4.1'
__version__ = '4.5.0'
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
)
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit d9f1a97

Please sign in to comment.