From 192f3a3c459633dbb319e2e400689bb173dbb974 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Fri, 28 Jun 2024 12:54:39 -0400 Subject: [PATCH] Bump supported Python & Django versions. --- .github/workflows/main.yml | 2 +- tox.ini | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6963835..2e6267b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,7 +45,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index 9f50db8..37856db 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,9 @@ [tox] envlist = - py{38,39,310}-django{32,41,42,main}, + py{38,39,310,311,312}-django42, + # Django 5.0 drops support for Python 3.8 and 3.9. + py{310,311,312}-django{50,51,main}, # Django 4.1.3 adds support for Python 3.11. py311-django{41,42,main} isolated_build = True @@ -16,9 +18,7 @@ commands = python manage.py test deps = Jinja2 - django22: Django>=2.2,<2.3 - django31: Django>=3.1,<3.2 - django32: Django>=3.2,<3.3 - django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 + django51: Django>=5.1b1,<5.2 djangomain: https://codeload.github.com/django/django/zip/main