Skip to content

Commit 0cad376

Browse files
committed
Add support for Django 5.0
1 parent 10c71fb commit 0cad376

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed

.circleci/config.yml

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ common_steps: &common_steps
2424
working_directory: /testprovider
2525
- run:
2626
name: Run testrp service
27-
command: . /testrp_env/bin/activate && ./bin/run.sh
27+
command: . /testrp_env/bin/activate && ./bin/run.sh
2828
background: True
2929
working_directory: /testrp
3030
- run:
@@ -139,6 +139,30 @@ jobs:
139139
- TEST_OIDC_ALGO=rs
140140
- DJANGO_VERSION=Django>=4.2,<5.0
141141
<<: *common_steps
142+
e2e_test_py310_rs_django500:
143+
docker:
144+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py310-latest
145+
name: testoidcsetup
146+
environment:
147+
- TEST_OIDC_ALGO=rs
148+
- DJANGO_VERSION=Django>=5.0,<5.1
149+
<<: *common_steps
150+
e2e_test_py311_rs_django500:
151+
docker:
152+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py311-latest
153+
name: testoidcsetup
154+
environment:
155+
- TEST_OIDC_ALGO=rs
156+
- DJANGO_VERSION=Django>=5.0,<5.1
157+
<<: *common_steps
158+
e2e_test_py312_rs_django500:
159+
docker:
160+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py312-latest
161+
name: testoidcsetup
162+
environment:
163+
- TEST_OIDC_ALGO=rs
164+
- DJANGO_VERSION=Django>=5.0,<5.1
165+
<<: *common_steps
142166
e2e_test_py38_hs_django420:
143167
docker:
144168
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py38-latest
@@ -179,6 +203,30 @@ jobs:
179203
- TEST_OIDC_ALGO=hs
180204
- DJANGO_VERSION=Django>=4.2,<5.0
181205
<<: *common_steps
206+
e2e_test_py310_hs_django500:
207+
docker:
208+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py310-latest
209+
name: testoidcsetup
210+
environment:
211+
- TEST_OIDC_ALGO=hs
212+
- DJANGO_VERSION=Django>=5.0,<5.1
213+
<<: *common_steps
214+
e2e_test_py311_hs_django500:
215+
docker:
216+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py311-latest
217+
name: testoidcsetup
218+
environment:
219+
- TEST_OIDC_ALGO=hs
220+
- DJANGO_VERSION=Django>=5.0,<5.1
221+
<<: *common_steps
222+
e2e_test_py312_hs_django500:
223+
docker:
224+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py312-latest
225+
name: testoidcsetup
226+
environment:
227+
- TEST_OIDC_ALGO=hs
228+
- DJANGO_VERSION=Django>=5.0,<5.1
229+
<<: *common_steps
182230

183231
workflows:
184232
version: 2
@@ -218,6 +266,15 @@ workflows:
218266
- e2e_test_py312_rs_django420:
219267
requires:
220268
- build_lib
269+
- e2e_test_py310_rs_django500:
270+
requires:
271+
- build_lib
272+
- e2e_test_py311_rs_django500:
273+
requires:
274+
- build_lib
275+
- e2e_test_py312_rs_django500:
276+
requires:
277+
- build_lib
221278
- e2e_test_py38_hs_django420:
222279
requires:
223280
- build_lib
@@ -233,3 +290,12 @@ workflows:
233290
- e2e_test_py312_hs_django420:
234291
requires:
235292
- build_lib
293+
- e2e_test_py310_hs_django500:
294+
requires:
295+
- build_lib
296+
- e2e_test_py311_hs_django500:
297+
requires:
298+
- build_lib
299+
- e2e_test_py312_hs_django500:
300+
requires:
301+
- build_lib

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Framework :: Django",
5858
"Framework :: Django :: 3.2",
5959
"Framework :: Django :: 4.2",
60+
"Framework :: Django :: 5.0",
6061
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
6162
"Intended Audience :: Developers",
6263
"Operating System :: MacOS",

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
lint
44
py{38,39,310,311}-django320
55
py{38,39,310,311,312}-django420
6+
py{310,311,312}-django500
67

78
[gh-actions]
89
python =

0 commit comments

Comments
 (0)