From 634b733d2cc4a32567b250b2c16a17d59f6a1740 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:39:59 +0100 Subject: [PATCH] add support for Django 5.0 Co-authored-by: RachellCalhoun Co-authored-by: AmiZya --- .github/workflows/ci.yml | 16 ++++++++++++++-- pyproject.toml | 1 + tox.ini | 2 ++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a1ca9b..371bba53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,23 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - django-version: ["3.2", "4.1", "4.2", "main"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + django-version: ["3.2", "4.1", "4.2", "5.0", "main"] exclude: - python-version: "3.7" django-version: "4.1" + - python-version: "3.12" + django-version: "4.1" - python-version: "3.7" django-version: "4.2" + - python-version: "3.12" + django-version: "4.2" + - python-version: "3.7" + django-version: "5.0" + - python-version: "3.8" + django-version: "5.0" + - python-version: "3.9" + django-version: "5.0" - python-version: "3.7" django-version: "main" - python-version: "3.8" @@ -30,6 +40,8 @@ jobs: django-version: "main" - python-version: "3.11" django-version: "3.2" + - python-version: "3.12" + django-version: "3.2" steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 8ab4ee65..c140a205 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index 69f004e4..aecb5ef2 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py{3.7,3.8,3.9,3.10}-django3.2 py{3.8,3.9,3.10,3.11}-django4.1 py{3.8,3.9,3.10,3.11}-django4.2 + py{3.10,3.11,3.12}-django5.0 py{3.10,3.11,3.12}-djangomain ruff @@ -18,6 +19,7 @@ deps = django3.2: django~=3.2.9 django4.1: django~=4.1.0 django4.2: django~=4.2.0 + django5.0: django~=5.0b1 djangomain: https://github.com/django/django/archive/main.tar.gz moto pytest