Skip to content

Commit f7840e1

Browse files
Support Django 5.2 (#359)
* Support Django 5.2 * Replace master with main for index.rst * Update master with main in README.rst * Update master to main for codecov workflow
1 parent 2d19e9a commit f7840e1

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
jobs:
1010
codecov:

.github/workflows/testing.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
jobs:
1010
linting:
@@ -31,15 +31,16 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"]
34-
django-version: [ "4.2", "5.0", "5.1"]
34+
django-version: [ "4.2", "5.0", "5.1", "5.2"]
3535
drf-version: ["3.14", "3.15"]
3636
exclude:
3737
# Python 3.9 is incompatible with Django v5+
3838
- django-version: 5.0
3939
python-version: 3.9
40-
# Python 3.9 is incompatible with Django v5+
4140
- django-version: 5.1
4241
python-version: 3.9
42+
- django-version: 5.2
43+
python-version: 3.9
4344
# Django 4.2 is incompatible with Python 3.13+
4445
- django-version: 4.2
4546
python-version: 3.13
@@ -62,7 +63,7 @@ jobs:
6263
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
6364
- run: |
6465
source .venv/bin/activate
65-
pip install "Django~=${{ matrix.django-version }}.0"
66+
pip install "Django~=${{ matrix.django-version }}.0a1"
6667
pip install "djangorestframework~=${{ matrix.drf-version }}.0"
6768
- name: Run tests
6869
run: |

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ADFS Authentication for Django
1010
:target: https://pypi.python.org/pypi/django-auth-adfs#downloads
1111
.. image:: https://img.shields.io/pypi/djversions/django-auth-adfs.svg
1212
:target: https://pypi.python.org/pypi/django-auth-adfs
13-
.. image:: https://codecov.io/github/snok/django-auth-adfs/coverage.svg?branch=master
14-
:target: https://codecov.io/github/snok/django-auth-adfs?branch=master
13+
.. image:: https://codecov.io/github/snok/django-auth-adfs/coverage.svg?branch=main
14+
:target: https://codecov.io/github/snok/django-auth-adfs?branch=main
1515

1616
A Django authentication backend for Microsoft ADFS and Azure AD
1717

docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ADFS Authentication for Django
1010
:target: https://pypi.python.org/pypi/django-auth-adfs#downloads
1111
.. image:: https://img.shields.io/pypi/djversions/django-auth-adfs.svg
1212
:target: https://pypi.python.org/pypi/django-auth-adfs
13-
.. image:: https://codecov.io/github/snok/django-auth-adfs/coverage.svg?branch=master
14-
:target: https://codecov.io/github/snok/django-auth-adfs?branch=master
13+
.. image:: https://codecov.io/github/snok/django-auth-adfs/coverage.svg?branch=main
14+
:target: https://codecov.io/github/snok/django-auth-adfs?branch=main
1515

1616
A Django authentication backend for Microsoft ADFS and Azure AD
1717

0 commit comments

Comments
 (0)