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 Jan 28, 2024
1 parent 3c4888c commit 08513c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
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
12 changes: 7 additions & 5 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 All @@ -62,7 +64,7 @@ commands =

[testenv:flake8]
basepython = python3
deps = flake8<=3.99
deps = flake8<=5.99
commands = flake8 example tests two_factor

[testenv:isort]
Expand Down

0 comments on commit 08513c7

Please sign in to comment.