Skip to content

Commit

Permalink
Add testing for Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Feb 3, 2024
1 parent 715c120 commit c4e3b5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
env:
COVERAGE_OPTIONS: "-a"

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Security',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[tox]
; Minimum version of Tox
minversion = 1.8
envlist =
py{38,39,310,311}-dj{32,40,41,42}-{normal,yubikey,custom_user,webauthn}
py{310,311}-djmain-{normal,yubikey,custom_user,webauthn}
py{310,311,312}-dj{50,main}-{normal,yubikey,custom_user,webauthn}

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

[gh-actions:env]
DJANGO =
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50
main: djmain
VARIANT =
normal: normal
Expand All @@ -38,14 +38,16 @@ basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
deps =
dj32: Django<4.0
dj40: Django<4.1
dj41: Django<4.2
dj42: Django<5.0
dj50: Django<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
yubikey: django-otp-yubikey
webauthn: webauthn>=1.2.1,<1.99
webauthn: webauthn>=1.11.0,<1.99
webauthn: -rrequirements_e2e.txt
coverage
freezegun
Expand Down

0 comments on commit c4e3b5f

Please sign in to comment.