From 27501f23f87ad7416691dd0ed0e44fa79312472d Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Thu, 28 Mar 2024 19:59:46 +0500 Subject: [PATCH] feat: running tests using python 3.11. --- CHANGELOG.rst | 2 +- requirements/constraints.txt | 4 ++++ setup.py | 2 +- tox.ini | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3d12725..87f2569 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,7 +20,7 @@ Added [4.3.0] - 2024-02-13 -------------------- -* Added support for python3.11 and 3.12. +* Added support for python3.11. Dropped django3.2 support. [4.2.0] - 2023-08-03 -------------------- diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 1b874c0..c8e7566 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -13,3 +13,7 @@ # tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos. # Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810 tox<4.0.0 + + +# Temporary to Support the python 3.11 Upgrade +backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library diff --git a/setup.py b/setup.py index 9db7ba5..9e712d7 100644 --- a/setup.py +++ b/setup.py @@ -106,8 +106,8 @@ def get_version(*file_paths): 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.11', 'Framework :: Django', - 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', 'Topic :: Internet', ], diff --git a/tox.ini b/tox.ini index 943fd83..59033ab 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,311,312}-django{42},quality +envlist = py{38,311}-django{42},quality [pycodestyle] max-line-length = 120