Skip to content

Commit d6f4317

Browse files
committed
Add Django 5.0 to test matrix
and drop support for django 3.2 and 4.1
1 parent ea77106 commit d6f4317

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,25 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: actions/setup-python@v4
12-
- uses: pre-commit/action@v3.0.0
11+
- uses: actions/setup-python@v5
12+
- uses: pre-commit/action@v3.0.1
1313

1414
test:
1515
name: Test
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.11", "3.10", "3.9", "3.8"]
20-
django-version: ["4.2", "4.1", "3.2"]
21-
19+
python-version: ["3.12", "3.11", "3.10"]
20+
django-version: ["5.0", "4.2"]
21+
include:
22+
- python-version: "3.9"
23+
django-version: "4.2"
24+
- python-version: "3.8"
25+
django-version: "4.2"
2226
steps:
2327
- uses: actions/checkout@v4
2428
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
2630
with:
2731
python-version: ${{ matrix.python-version }}
2832
- name: Install dependencies
@@ -42,7 +46,7 @@ jobs:
4246
junitxml-path: ./pytest.xml
4347
- if: ${{ strategy.job-index == 0 && github.ref == 'refs/heads/main' }}
4448
name: Create the coverage badge
45-
uses: schneegans/dynamic-badges-action@v1.4.0
49+
uses: schneegans/dynamic-badges-action@v1.7.0
4650
with:
4751
auth: ${{ secrets.CODECOVERAGE_GIST }}
4852
gistID: 24a6d63ff9d29d9be5399169f8199ca0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ cached_db), and django-qsessions.
7575

7676
## Compatibility
7777

78-
- Python: **3.8**, **3.9**, **3.10**, **3.11**
79-
- Django: **3.2**, **4.1**, **4.2**
78+
- Python: **3.8**, **3.9**, **3.10**, **3.11**, **3.12**
79+
- Django: **4.2**, **5.0**
8080

8181
## Installation
8282

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
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",
39+
"Framework :: Django :: 5.0",
4140
"Intended Audience :: Developers",
4241
"License :: OSI Approved :: MIT License",
4342
"Operating System :: OS Independent",
@@ -46,6 +45,7 @@
4645
"Programming Language :: Python :: 3.9",
4746
"Programming Language :: Python :: 3.10",
4847
"Programming Language :: Python :: 3.11",
48+
"Programming Language :: Python :: 3.12",
4949
"Topic :: Internet :: WWW/HTTP :: Session",
5050
"Topic :: Security",
5151
],

0 commit comments

Comments
 (0)