Skip to content

Commit c666146

Browse files
authored
Update dependencies (#28)
* [docs] Add Rafael to list of authors (contributors) * [tools] Update CI to include all supported Python versions * [tools] Update classifiers to include all supported Python versions * [tools] Update test dependencies to latest versions * [tools] Update dependencies to latest versions and remove Django * [tools] Add latest django classifiers and remove obsolete versions * [tools] Add test for different versions of Django * [tools] Remove support for Python 3.5 and 3.6 * [tools] Add conditional build matrix because Django 4.0 doesn't support Python 3.7 * [tools] Update version and add changelog
1 parent 03bdd03 commit c666146

File tree

5 files changed

+33
-17
lines changed

5 files changed

+33
-17
lines changed

.github/workflows/test.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,32 @@ jobs:
66
test:
77
name: Test django-saml2-auth
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
versions:
12+
- { "djangoVersion": "2.2.27", "pythonVersion": "3.7" }
13+
- { "djangoVersion": "2.2.27", "pythonVersion": "3.8" }
14+
- { "djangoVersion": "2.2.27", "pythonVersion": "3.9" }
15+
- { "djangoVersion": "2.2.27", "pythonVersion": "3.10" }
16+
- { "djangoVersion": "3.2.12", "pythonVersion": "3.7" }
17+
- { "djangoVersion": "3.2.12", "pythonVersion": "3.8" }
18+
- { "djangoVersion": "3.2.12", "pythonVersion": "3.9" }
19+
- { "djangoVersion": "3.2.12", "pythonVersion": "3.10" }
20+
- { "djangoVersion": "4.0.3", "pythonVersion": "3.8" }
21+
- { "djangoVersion": "4.0.3", "pythonVersion": "3.9" }
22+
- { "djangoVersion": "4.0.3", "pythonVersion": "3.10" }
923
steps:
1024
- name: Checkout code
1125
uses: actions/checkout@v2
1226
- name: Set up Python
1327
uses: actions/setup-python@v2
1428
with:
15-
python-version: "3.7"
29+
python-version: ${{ matrix.versions.pythonVersion }}
1630
- name: Install xmlsec1
1731
run: sudo apt-get install xmlsec1
1832
- name: Install dependencies
1933
run: pip install -r requirements_test.txt && pip install -e .
20-
- name: Test
34+
- name: Install Django ${{ matrix.versions.djangoVersion }}
35+
run: pip install Django==${{ matrix.versions.djangoVersion }}
36+
- name: Test Django ${{ matrix.versions.djangoVersion }}
2137
run: pytest .

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ If your code or changes are here, but you are not mentioned, please open
3434
an issue.
3535

3636
- [Mostafa Moradian](https://github.com/mostafa) (k6.io & Grafana Labs)
37+
- [Rafael Muñoz Cárdenas](https://github.com/Menda) (k6.io & Grafana Labs)
3738
- [DSpeichert](https://github.com/DSpeichert)
3839
- [jacobh](https://github.com/jacobh)
3940
- [Gene Wood](http://github.com/gene1wood/)

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Django SAML2 Authentication Made Easy
22

3-
- Original Author
3+
- Original Author
44
Fang Li
55

6-
- Maintainer
6+
- Maintainer
77
Mostafa Moradian
88

9-
- Version
9+
- Version
1010
Use 1.1.4 for Django \<=1.9, 2.x.x for Django \>= 1.9, Latest supported django version is 2.2. Version \>=3.0.0 is heavily refactored.
1111

1212
This project aims to provide a simple way to integrate SAML2 Authentication into your Django-powered app. Try it now, and get rid of the complicated configuration of SAML.
@@ -277,6 +277,8 @@ More information can be found in the [Okta Developer Documentation](https://deve
277277

278278
## Release Log
279279

280+
3.4.0: Add support for Django 3.2 and 4.0 and remove support for older Python and Django versions
281+
280282
3.3.0: Add support for PKI in JWT
281283

282284
3.2.0: Update dependencies (#22)

requirements_test.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Django==2.2.17
2-
pytest==6.2.1
3-
pytest-django==4.1.0
4-
responses==0.12.1
1+
pytest==7.0.1
2+
pytest-django==4.5.2
3+
responses==0.19.0

setup.py

+6-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
setup(
1717
name="django_saml2_auth",
1818

19-
version="3.3.0",
19+
version="3.4.0",
2020

2121
description="Django SAML2 Authentication Made Easy.",
2222
long_description=long_description,
@@ -39,17 +39,15 @@
3939

4040
"License :: OSI Approved :: Apache Software License",
4141

42-
"Framework :: Django :: 1.7",
43-
"Framework :: Django :: 1.8",
44-
"Framework :: Django :: 1.9",
45-
"Framework :: Django :: 1.10",
46-
"Framework :: Django :: 2.1",
4742
"Framework :: Django :: 2.2",
43+
"Framework :: Django :: 3.2",
44+
"Framework :: Django :: 4.0",
4845

4946
"Programming Language :: Python :: 3",
50-
"Programming Language :: Python :: 3.5",
51-
"Programming Language :: Python :: 3.6",
5247
"Programming Language :: Python :: 3.7",
48+
"Programming Language :: Python :: 3.8",
49+
"Programming Language :: Python :: 3.9",
50+
"Programming Language :: Python :: 3.10",
5351
],
5452

5553
keywords=[

0 commit comments

Comments
 (0)