Skip to content

Commit

Permalink
feat: Support Django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simkimsia committed Apr 2, 2023
1 parent 3fad362 commit 54b3b3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ jobs:
- python: "3.10"
# Skip testing Django 4.0, already tested in previous workflow job.
toxenv: py310-dj32,py310-dj41,py310-djmain
- python: "3.11"
toxenv: py311-dj41,py311-dj42,py311-djmain
# Tentative support for next Python pre-release. For the correct specifier,
# Check: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json.
- python: "3.11.0-beta.2"
toxenv: py311-dj41
# when django supports py312, then uncomment this
# - python: "3.12.0-alpha.6"
# toxenv: py312-dj41
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311}-dj{32,40,41,main}, lint
envlist = py{37,38,39,310,311}-dj{32,40,41,42,main}, lint
skipsdist = true

[testenv]
Expand All @@ -15,8 +15,10 @@ deps =
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
; Use pre-releases until stable releases are available.
; dj42: Django==4.2a1
; Switch to version range upon stable release.
; dj42: Django>=4.2,<4.3
dj42: Django==4.2rc1

djmain: https://github.com/django/django/archive/main.zip

[testenv:lint]
Expand Down

0 comments on commit 54b3b3b

Please sign in to comment.