Skip to content

Commit ffcebb3

Browse files
authored
Add django 5.1 to the test matrix and add its classifier (typeddjango#2380)
1 parent 3e68b00 commit ffcebb3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
fail-fast: false
134134
matrix:
135135
python-version: ['3.11', '3.12']
136-
django-version: ['4.2', '5.0']
136+
django-version: ['4.2', '5.0', '5.1']
137137
include:
138138
- python-version: '3.8'
139139
django-version: '4.2'

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ This rule helps us avoid tying in too closely to Django’s undocumented interna
132132
- Update `django-stubs-ext>=` dependency in root `setup.py` to the same version number.
133133
- Add a new row at the top of ['Version compatibility' table in README.md](README.md#version-compatibility).
134134
- Use pull request title "Version x.y.z release" by convention.
135+
- Add the correct classifiers to `setup.py` if support is added for a new Python or Django version
135136

136137
2. Ensure the CI succeeds. A maintainer must merge this PR. If it's just a version bump, no need
137138
to wait for a second maintainer's approval.

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def find_stub_files(name: str) -> List[str]:
7171
"Framework :: Django",
7272
"Framework :: Django :: 4.2",
7373
"Framework :: Django :: 5.0",
74+
"Framework :: Django :: 5.1",
7475
],
7576
project_urls={
7677
"Funding": "https://github.com/sponsors/typeddjango",

0 commit comments

Comments
 (0)