Skip to content

Commit

Permalink
Merge pull request #29 from PeterJCLaw/python-3.12
Browse files Browse the repository at this point in the history
Python 3.12
  • Loading branch information
danpalmer authored Jan 5, 2024
2 parents f56d419 + eac157c commit 625c802
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0"]
exclude:
# Python 3.11 is not supported until Django 4.1
Expand All @@ -20,6 +20,14 @@ jobs:
- python-version: "3.11"
django-version: "4.0"

# Python 3.12 is not supported until Django 4.2
- python-version: "3.12"
django-version: "3.2"
- python-version: "3.12"
django-version: "4.0"
- python-version: "3.12"
django-version: "4.1"

# Python <3.10 is not supported by Django 5.0+
- python-version: "3.8"
django-version: "5.0"
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
isolated_build = true
envlist =
py{38,39,310,311}-django{32,40,41,42}
py{310,311}-django50
py312-django42
py{310,311,312}-django50

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
django-version =
Expand Down

0 comments on commit 625c802

Please sign in to comment.