From 6b2bc32acdc4496e4f465bdf2d84121a0badf6d4 Mon Sep 17 00:00:00 2001 From: Matt Seymour Date: Wed, 27 Dec 2023 16:25:58 +0000 Subject: [PATCH] Update django 5.0 python compatability --- .github/workflows/test.yml | 22 +++++++++++++--------- setup.py | 5 +++-- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85cd03b..09fa7ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,21 +6,25 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - django-version: ["3.2", "4.0", "4.1"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + django-version: ["3.2", "4.2", "5.0"] exclude: - # Python 3.7 is not compatible with 4.0 - - python-version: "3.7" - django-version: "4.0" # Python 3.7 is not compatible with 4.1 - python-version: "3.7" - django-version: "4.1" + django-version: "4.2" # Python 3.11 is not compatible with 3.2 - python-version: "3.11" django-version: "3.2" - # Python 3.11 is not compatible with 4.0 - - python-version: "3.11" - django-version: "4.0" + - python-version: "3.12" + django-version: "3.2" + # django 5.0 is not compatible with python 3.9 or lower + - python-version: "3.7" + django-version: "5.0" + - python-version: "3.8" + django-version: "5.0" + - python-version: "3.9" + django-version: "5.0" + steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index b508651..a4cd2e4 100644 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 3.2", - "Framework :: Django :: 4.0", - "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", @@ -45,5 +45,6 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], )