Skip to content

Commit d384877

Browse files
committed
added django5.0
1 parent 837445c commit d384877

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ["3.8", "3.9", "3.10", "3.11"]
19-
django-version: ["3.2", "4.0", "4.1"]
19+
django-version: ["3.2", "4.1", "4.2", "5.0"]
2020
exclude:
2121
- python-version: "3.11"
2222
django-version: "3.2"
23+
- python-version: "3.8"
24+
django-version: "5.0"
25+
- python-version: "3.9"
26+
django-version: "5.0"
2327

2428
steps:
2529
- uses: actions/checkout@v2

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ def read(*rnames):
3636
"Environment :: Web Environment",
3737
"Framework :: Django",
3838
"Framework :: Django :: 3.2",
39-
"Framework :: Django :: 4.0",
4039
"Framework :: Django :: 4.1",
40+
"Framework :: Django :: 4.2",
41+
"Framework :: Django :: 5.0",
4142
"Intended Audience :: Developers",
4243
"License :: OSI Approved :: Apache Software License",
4344
"Operating System :: OS Independent",
@@ -61,5 +62,5 @@ def read(*rnames):
6162
packages=find_packages(exclude=["tests", "tests.*"]),
6263
include_package_data=True,
6364
zip_safe=False,
64-
install_requires=["defusedxml>=0.4.1", "Django>=2.2,<5", "pysaml2>=6.5.1"],
65+
install_requires=["defusedxml>=0.4.1", "Django>=3.2", "pysaml2>=6.5.1"],
6566
)

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{3.8,3.9,3.10,3.11}-django{3.2,4.0,4.1}
3+
py{3.8,3.9,3.10,3.11}-django{3.2,4.1,4.2,5.0}
44

55
[testenv]
66
commands =
@@ -9,8 +9,9 @@ commands =
99

1010
deps =
1111
django3.2: django~=3.2
12-
django4.0: django~=4.0
13-
django4.1: django==4.1b1
12+
django4.1: django~=4.1
13+
django4.2: django~=4.2
14+
django5.0: django==5.0a1
1415
djangomaster: https://github.com/django/django/archive/master.tar.gz
1516
.
1617

0 commit comments

Comments
 (0)