Skip to content

Commit

Permalink
added django5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
g-as committed Sep 25, 2023
1 parent 837445c commit d384877
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
django-version: ["3.2", "4.0", "4.1"]
django-version: ["3.2", "4.1", "4.2", "5.0"]
exclude:
- python-version: "3.11"
django-version: "3.2"
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ def read(*rnames):
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand All @@ -61,5 +62,5 @@ def read(*rnames):
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
zip_safe=False,
install_requires=["defusedxml>=0.4.1", "Django>=2.2,<5", "pysaml2>=6.5.1"],
install_requires=["defusedxml>=0.4.1", "Django>=3.2", "pysaml2>=6.5.1"],
)
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{3.8,3.9,3.10,3.11}-django{3.2,4.0,4.1}
py{3.8,3.9,3.10,3.11}-django{3.2,4.1,4.2,5.0}

[testenv]
commands =
Expand All @@ -9,8 +9,9 @@ commands =

deps =
django3.2: django~=3.2
django4.0: django~=4.0
django4.1: django==4.1b1
django4.1: django~=4.1
django4.2: django~=4.2
django5.0: django==5.0a1
djangomaster: https://github.com/django/django/archive/master.tar.gz
.

Expand Down

0 comments on commit d384877

Please sign in to comment.