From 0789759c28d6bd9113422e440ad25ff756935c98 Mon Sep 17 00:00:00 2001 From: "KimSia, Sim" <245021+simkimsia@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:48:25 +0800 Subject: [PATCH] Add support for Django 4.2 --- README.rst | 2 +- setup.py | 2 +- tox.ini | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 8cd42629..29b8ec72 100644 --- a/README.rst +++ b/README.rst @@ -127,7 +127,7 @@ the code on `GitHub `_, and the latest release on `PyPI `_. It’s rigorously tested on Python 3.6+, and officially supports -Django 1.11, 2.2, 3., 3.1, 3.2, 4.0 and 4.1. +Django 1.11, 2.2, 3., 3.1, 3.2, 4.0, 4.1, and 4.2. If you'd like to contribute to ``django-environ`` you're most welcome! diff --git a/setup.py b/setup.py index 43147e3e..30525752 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,6 @@ from setuptools import find_packages, setup - # Use this code block for future deprecations of Python version: # # import warnings @@ -145,6 +144,7 @@ def get_version_string(): 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', 'Framework :: Django :: 4.1', + 'Framework :: Django :: 4.2', 'Operating System :: OS Independent', diff --git a/tox.ini b/tox.ini index 0d26af4b..ca438d33 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ envlist = manifest py{36,37,38,39,310,311}-django{111,22} py{36,37,38,39,310,311}-django{30,31,32} - py{38,39,310,311}-django{40,41} + py{38,39,310,311}-django{40,41,42} pypy-django{111,22,30,31,32} [gh-actions] @@ -44,6 +44,7 @@ deps = django32: Django>=3.2,<3.3 django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 + django42: Django>=4.2rc1,<5.0 commands_pre = python -m pip install --upgrade pip python -m pip install .