Skip to content

Commit ce1d04e

Browse files
authored
Exclude unsupported Python version by Django version
1 parent 827ae79 commit ce1d04e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@ jobs:
2222
django-version: "4.2"
2323
- python-version: "3.13"
2424
django-version: "5.1"
25-
25+
exclude:
26+
# Python 3.9 is incompatible with Django v5+
27+
- django-version: 5.0
28+
python-version: 3.9
29+
- django-version: 5.1
30+
python-version: 3.9
31+
- django-version: 5.2
32+
python-version: 3.9
33+
# Django 4.2 is incompatible with Python 3.13+
34+
- django-version: 4.2
35+
python-version: 3.13
2636
steps:
2737
- uses: actions/checkout@v4
2838
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)