Skip to content

Commit fec76b7

Browse files
committed
updated python x django supported versions
min python is now 3.9, 3.13 is now supported min django is 4.2, 5.1 is now supported
1 parent ef540d4 commit fec76b7

File tree

5 files changed

+13
-22
lines changed

5 files changed

+13
-22
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11"]
19-
django-version: ["3.2", "4.1", "4.2", "5.0"]
18+
python-version: ["3.10", "3.11", "3.12"]
19+
django-version: ["4.2", "5.0", "5.1"]
2020
include:
21-
- python-version: "3.12"
22-
django-version: "4.2"
23-
- python-version: "3.12"
24-
django-version: "5.0"
25-
exclude:
26-
- python-version: "3.11"
27-
django-version: "3.2"
28-
- python-version: "3.8"
29-
django-version: "5.0"
3021
- python-version: "3.9"
31-
django-version: "5.0"
22+
django-version: "4.2"
23+
- python-version: "3.13"
24+
django-version: "5.1"
3225

3326
steps:
3427
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
rev: 1.22.2
4141
hooks:
4242
- id: django-upgrade
43-
args: [--target-version, "3.2"]
43+
args: [--target-version, "4.2"]
4444

4545
- repo: https://github.com/pycqa/flake8
4646
rev: 7.1.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
force-exclude = '''/(migrations)/'''
3-
target-version = ["py36"]
3+
target-version = ["py39"]
44

55
[tool.isort]
66
src_paths = ["djangosaml2", "tests"]

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,18 @@ def read(*rnames):
3535
"Development Status :: 5 - Production/Stable",
3636
"Environment :: Web Environment",
3737
"Framework :: Django",
38-
"Framework :: Django :: 3.2",
39-
"Framework :: Django :: 4.1",
4038
"Framework :: Django :: 4.2",
4139
"Framework :: Django :: 5.0",
40+
"Framework :: Django :: 5.1",
4241
"Intended Audience :: Developers",
4342
"License :: OSI Approved :: Apache Software License",
4443
"Operating System :: OS Independent",
4544
"Programming Language :: Python",
46-
"Programming Language :: Python :: 3.8",
4745
"Programming Language :: Python :: 3.9",
4846
"Programming Language :: Python :: 3.10",
4947
"Programming Language :: Python :: 3.11",
5048
"Programming Language :: Python :: 3.12",
49+
"Programming Language :: Python :: 3.13",
5150
"Topic :: Internet :: WWW/HTTP",
5251
"Topic :: Internet :: WWW/HTTP :: WSGI",
5352
"Topic :: Security",
@@ -63,5 +62,5 @@ def read(*rnames):
6362
packages=find_packages(exclude=["tests", "tests.*"]),
6463
include_package_data=True,
6564
zip_safe=False,
66-
install_requires=["defusedxml>=0.4.1", "Django>=3.2", "pysaml2>=6.5.1"],
65+
install_requires=["defusedxml>=0.4.1", "Django>=4.2", "pysaml2>=6.5.1"],
6766
)

tox.ini

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

55
[testenv]
66
commands =
77
pip list
88
python tests/run_tests.py
99

1010
deps =
11-
django3.2: django~=3.2
12-
django4.1: django~=4.1
1311
django4.2: django~=4.2
14-
django5.0: django==5.0a1
12+
django5.0: django~=5.0
13+
django5.1: django~=5.1
1514
djangomaster: https://github.com/django/django/archive/master.tar.gz
1615
.
1716

0 commit comments

Comments
 (0)