Skip to content

Commit

Permalink
Add support for Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Feb 29, 2024
1 parent 10c71fb commit 0cad376
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 1 deletion.
68 changes: 67 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ common_steps: &common_steps
working_directory: /testprovider
- run:
name: Run testrp service
command: . /testrp_env/bin/activate && ./bin/run.sh
command: . /testrp_env/bin/activate && ./bin/run.sh
background: True
working_directory: /testrp
- run:
Expand Down Expand Up @@ -139,6 +139,30 @@ jobs:
- TEST_OIDC_ALGO=rs
- DJANGO_VERSION=Django>=4.2,<5.0
<<: *common_steps
e2e_test_py310_rs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py310-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=rs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps
e2e_test_py311_rs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py311-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=rs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps
e2e_test_py312_rs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py312-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=rs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps
e2e_test_py38_hs_django420:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py38-latest
Expand Down Expand Up @@ -179,6 +203,30 @@ jobs:
- TEST_OIDC_ALGO=hs
- DJANGO_VERSION=Django>=4.2,<5.0
<<: *common_steps
e2e_test_py310_hs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py310-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=hs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps
e2e_test_py311_hs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py311-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=hs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps
e2e_test_py312_hs_django500:
docker:
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py312-latest
name: testoidcsetup
environment:
- TEST_OIDC_ALGO=hs
- DJANGO_VERSION=Django>=5.0,<5.1
<<: *common_steps

workflows:
version: 2
Expand Down Expand Up @@ -218,6 +266,15 @@ workflows:
- e2e_test_py312_rs_django420:
requires:
- build_lib
- e2e_test_py310_rs_django500:
requires:
- build_lib
- e2e_test_py311_rs_django500:
requires:
- build_lib
- e2e_test_py312_rs_django500:
requires:
- build_lib
- e2e_test_py38_hs_django420:
requires:
- build_lib
Expand All @@ -233,3 +290,12 @@ workflows:
- e2e_test_py312_hs_django420:
requires:
- build_lib
- e2e_test_py310_hs_django500:
requires:
- build_lib
- e2e_test_py311_hs_django500:
requires:
- build_lib
- e2e_test_py312_hs_django500:
requires:
- build_lib
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Intended Audience :: Developers",
"Operating System :: MacOS",
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
lint
py{38,39,310,311}-django320
py{38,39,310,311,312}-django420
py{310,311,312}-django500

[gh-actions]
python =
Expand Down

0 comments on commit 0cad376

Please sign in to comment.