Skip to content

Commit

Permalink
ci: add Python 3.12 jobs
Browse files Browse the repository at this point in the history
According to the documentation, only Django 4.2 and newer support this
release of Python officially.

Related: https://docs.djangoproject.com/en/4.2/faq/install/#what-python-version-can-i-use-with-django
  • Loading branch information
lzaoral committed Dec 5, 2023
1 parent 4950060 commit 999e0d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
py39-django4,
py310-django4,
py311-django4,
py312-django4,
py39-bandit,
]

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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}-django4, py39-bandit
envlist = {py36, py38, py39, py310, py311}-{django2, django3}, {py38, py39, py310, py311, py312}-django4, py39-bandit
skip_missing_interpreters = True

[testenv]
Expand All @@ -10,7 +10,7 @@ deps =
-rtest-requirements.txt
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
django4: Django~=4.2.0 # Django 4 LTS (EOL 4/2026)
# for testing with python-rpm
sitepackages = True

Expand Down

0 comments on commit 999e0d2

Please sign in to comment.