Skip to content

Commit 8565aa0

Browse files
authored
Release 5.2.0 (#2634)
1 parent 1397dda commit 8565aa0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ We rely on different `django` and `mypy` versions:
4949

5050
| django-stubs | Mypy version | Django version | Django partial support | Python version |
5151
|----------------|--------------|----------------|------------------------|----------------|
52+
| 5.2.0 | 1.13+ | 5.2 | 5.1 | 3.10 - 3.13 |
5253
| 5.1.3 | 1.13+ | 5.1 | 4.2 | 3.9 - 3.13 |
5354
| 5.1.2 | 1.13+ | 5.1 | 4.2 | 3.9 - 3.13 |
5455
| 5.1.1 | 1.13.x | 5.1 | 4.2 | 3.8 - 3.12 |

ext/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# It's fine to skip django-stubs-ext releases, but when doing a release, update this to newest django-stubs version.
1414
setup(
1515
name="django-stubs-ext",
16-
version="5.1.3",
16+
version="5.2.0",
1717
description="Monkey-patching and extensions for django-stubs",
1818
long_description=readme,
1919
long_description_content_type="text/markdown",

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Dev tools:
2-
pre-commit==4.2.0
32
pytest==8.3.5
43
pytest-mypy-plugins==3.2.0
54
pytest-shard==0.1.2

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def find_stub_files(name: str) -> list[str]:
2222
dependencies = [
2323
"django",
2424
"asgiref",
25-
"django-stubs-ext>=5.1.3",
25+
"django-stubs-ext>=5.2.0",
2626
"tomli; python_version < '3.11'",
2727
# Types:
2828
"typing-extensions>=4.11.0",
@@ -31,14 +31,14 @@ def find_stub_files(name: str) -> list[str]:
3131

3232
# Keep compatible-mypy major.minor version pinned to what we use in CI (requirements.txt)
3333
extras_require = {
34-
"compatible-mypy": ["mypy>=1.12,<1.16"],
34+
"compatible-mypy": ["mypy>=1.13,<1.16"],
3535
"redis": ["redis"],
3636
"oracle": ["oracledb"],
3737
}
3838

3939
setup(
4040
name="django-stubs",
41-
version="5.1.3",
41+
version="5.2.0",
4242
description="Mypy stubs for Django",
4343
long_description=readme,
4444
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)