diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 041368560..99024feeb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -127,7 +127,7 @@ This rule helps us avoid tying in too closely to Django’s undocumented interna - Update the `version =` value within `[project]` section in **both** `pyproject.toml` files. The versions must be in sync. - Update `django-stubs-ext>=` dependency in root `pyproject.toml` to the same version number. - - Update lockfile, run: `uv lock` + - Run `uv lock` to update lockfile - Add a new row at the top of ['Version compatibility' table in README.md](README.md#version-compatibility). - Use pull request title "Version x.y.z release" by convention. - Add the correct classifiers to `classifiers =` if support is added for a new Python or Django version diff --git a/README.md b/README.md index 83ad17899..7950c4f37 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ We rely on different `django` and `mypy` versions: | django-stubs | Mypy version | Django version | Django partial support | Python version | |----------------|--------------|----------------|------------------------|----------------| +| 5.2.6 | 1.13 - 1.18 | 5.2 | 5.1, 5.0 | 3.10 - 3.13 | | 5.2.5 | 1.13 - 1.18 | 5.2 | 5.1, 5.0 | 3.10 - 3.13 | | 5.2.4 | 1.13 - 1.18 | 5.2 | 5.1, 5.0 | 3.10 - 3.13 | | 5.2.3 | 1.13 - 1.18 | 5.2 | 5.1, 5.0 | 3.10 - 3.13 | diff --git a/ext/pyproject.toml b/ext/pyproject.toml index 13b415c4c..c601564ad 100644 --- a/ext/pyproject.toml +++ b/ext/pyproject.toml @@ -2,7 +2,7 @@ name = "django-stubs-ext" # NB! For clarity, keep version major.minor.patch in sync with django-stubs. # It's fine to skip django-stubs-ext releases, but when doing a release, update this to newest django-stubs version. -version = "5.2.6a1" +version = "5.2.6" description = "Monkey-patching and extensions for django-stubs" readme = "README.md" license = "MIT" diff --git a/pyproject.toml b/pyproject.toml index 690ccd179..787ddbdcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "django-stubs" -version = "5.2.6a1" +version = "5.2.6" description = "Mypy stubs for Django" readme = "README.md" license = "MIT" @@ -29,7 +29,7 @@ classifiers = [ ] dependencies = [ "django", - "django-stubs-ext>=5.2.6a1", + "django-stubs-ext>=5.2.6", "tomli; python_version < '3.11'", # Types: "types-pyyaml", diff --git a/uv.lock b/uv.lock index 36a919f08..ae560e1b8 100644 --- a/uv.lock +++ b/uv.lock @@ -219,7 +219,7 @@ wheels = [ [[package]] name = "django-stubs" -version = "5.2.6a1" +version = "5.2.6" source = { editable = "." } dependencies = [ { name = "django" }, @@ -319,7 +319,7 @@ tests = [ [[package]] name = "django-stubs-ext" -version = "5.2.6a1" +version = "5.2.6" source = { editable = "ext" } dependencies = [ { name = "django" },