From 800d485d97ab5269ffe90189c98249e4f968fd25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 5 Dec 2023 13:05:27 +0100 Subject: [PATCH] ci: add Django 5.0 jobs ... for supported Python releases. Related: https://docs.djangoproject.com/en/5.0/releases/5.0/#python-compatibility --- .github/workflows/main.yml | 3 +++ tox.ini | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e70d7db..a0cd084 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,6 +40,9 @@ jobs: py310-django4, py311-django4, py312-django4, + py310-django5, + py311-django5, + py312-django5, py39-bandit, ] diff --git a/tox.ini b/tox.ini index 95d1743..b9f2b26 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] # Don't forget to update GA config when changing this -envlist = {py36, py38, py39, py310, py311}-{django2, django3}, {py38, py39, py310, py311, py312}-django4, py39-bandit +envlist = {py36, py38, py39, py310, py311}-{django2, django3}, {py38, py39, py310, py311, py312}-django4, {py310, py311, py312}-django5, py39-bandit skip_missing_interpreters = True [testenv] @@ -11,6 +11,7 @@ deps = django2: Django~=2.2.0 # Django 2 LTS (EOL 4/2022) django3: Django~=3.2.0 # Django 3 LTS (EOL 4/2024) django4: Django~=4.2.0 # Django 4 LTS (EOL 4/2026) + django5: Django~=5.0.0 # for testing with python-rpm sitepackages = True