Skip to content

Commit 9f752fc

Browse files
Add Django 5.2a1 to test matrix (#49)
1 parent 4a2abed commit 9f752fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
DJ42 = "4.2"
2121
DJ50 = "5.0"
2222
DJ51 = "5.1"
23+
DJ52 = "5.2a1"
2324
DJMAIN = "main"
2425
DJMAIN_MIN_PY = PY310
25-
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJMAIN]
26+
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJ52, DJMAIN]
2627
DJ_LTS = [
2728
version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN
2829
]
@@ -42,6 +43,10 @@ def should_skip(python: str, django: str) -> bool:
4243
# Django main requires Python 3.10+
4344
return True
4445

46+
if django == DJ52 and version(python) < version(PY310):
47+
# Django 5.2a1 requires Python 3.10+
48+
return True
49+
4550
if django == DJ51 and version(python) < version(PY310):
4651
# Django 5.1 requires Python 3.10+
4752
return True

0 commit comments

Comments
 (0)