From 0e783eb29bc1ce9e429bb0a59bae025029bc7ef4 Mon Sep 17 00:00:00 2001 From: Brett Gmoser Date: Fri, 10 May 2024 12:40:18 -0400 Subject: [PATCH 1/2] Add support for Django 5.0 and Python 3.12. --- README.rst | 1 + setup.py | 2 +- tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e5d78c6..8e3a420 100644 --- a/README.rst +++ b/README.rst @@ -59,4 +59,5 @@ Django version Python versions 3.2 LTS 3.8, 3.9, 3.10 4.1 3.8, 3.9, 3.10, 3.11 4.2 3.8, 3.9, 3.10, 3.11 +5.0 3.10, 3.11, 3.12 ============== ======================== diff --git a/setup.py b/setup.py index 65a247d..8e5a8b1 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ package_data={'django_admin_reset': ['templates/admin/*.html', 'locale/*/LC_MESSAGES/*.[mp]o']}, python_requires='>=3.8, <4', - install_requires=['django>=3.2,<4.3,!=4.0'], + install_requires=['django>=3.2,<5.1,!=4.0'], extras_require={ 'testing': [ 'flake8~=6.0.0', diff --git a/tox.ini b/tox.ini index 78fe870..6b4c530 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = py{38,39,310}-django32 py{38,39,310,311}-django41 py{38,39,310,311}-django42 + py{310,311,312}-django50 docs package @@ -12,6 +13,7 @@ deps = django32: Django>=3.2,<3.3 django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 commands = pip install -e .[testing] pytest From 4ef91e304e1acf443b31cbf91140eee92259d0ad Mon Sep 17 00:00:00 2001 From: Brett Gmoser Date: Fri, 10 May 2024 12:40:18 -0400 Subject: [PATCH 2/2] Add support for Django 5.0 and Python 3.12. --- README.rst | 1 + setup.py | 2 +- tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e5d78c6..8e3a420 100644 --- a/README.rst +++ b/README.rst @@ -59,4 +59,5 @@ Django version Python versions 3.2 LTS 3.8, 3.9, 3.10 4.1 3.8, 3.9, 3.10, 3.11 4.2 3.8, 3.9, 3.10, 3.11 +5.0 3.10, 3.11, 3.12 ============== ======================== diff --git a/setup.py b/setup.py index 65a247d..8e5a8b1 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ package_data={'django_admin_reset': ['templates/admin/*.html', 'locale/*/LC_MESSAGES/*.[mp]o']}, python_requires='>=3.8, <4', - install_requires=['django>=3.2,<4.3,!=4.0'], + install_requires=['django>=3.2,<5.1,!=4.0'], extras_require={ 'testing': [ 'flake8~=6.0.0', diff --git a/tox.ini b/tox.ini index 78fe870..6b4c530 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = py{38,39,310}-django32 py{38,39,310,311}-django41 py{38,39,310,311}-django42 + py{310,311,312}-django50 docs package @@ -12,6 +13,7 @@ deps = django32: Django>=3.2,<3.3 django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 commands = pip install -e .[testing] pytest