Skip to content

Commit 9a8bd69

Browse files
authored
chore(deps): update dependency django-stubs to v5.2.9 (#412)
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [django-stubs](https://redirect.github.com/typeddjango/django-stubs) ([changelog](https://redirect.github.com/typeddjango/django-stubs/releases)) | dependency-groups | patch | `==5.2.7 ` → `==5.2.9` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/typeddjango/django-stubs/badge)](https://securityscorecards.dev/viewer/?uri=github.com/typeddjango/django-stubs) | --- ### Release Notes <details> <summary>typeddjango/django-stubs (django-stubs)</summary> ### [`v5.2.9`](https://redirect.github.com/typeddjango/django-stubs/releases/tag/5.2.9) [Compare Source](https://redirect.github.com/typeddjango/django-stubs/compare/5.2.8...5.2.9) Version 5.2.9 will be the last version to target Django 5.2 -- the next version will be updating to 6.0! ##### 🚀 We need your help: Adding Django 6.0 stubs Many new Django 6.0 APIs are still missing stubs coverage, and changes to existing APIs are not covered. If you are interested in contributing, **please help by opening PRs** (check that a PR does not exist already for your topic). ##### 👉 Starting points - [Django 6.0 release notes](https://docs.djangoproject.com/en/6.0/releases/6.0/) - [scripts/stubtest/allowlist\_todo\_django60.txt](https://redirect.github.com/typeddjango/django-stubs/blob/master/scripts/stubtest/allowlist_todo_django60.txt) file And by the way, we are still missing some things from previous Django versions too! Check earlier release note, other `allowlist_todo*.txt` files and [#&#8203;1493 (comment)](https://redirect.github.com/typeddjango/django-stubs/issues/1493#issuecomment-2105730206) ##### 🤝 You help us, we help you If want to help but you are not sure how to implement something in stubs: - [Check tutorials listed here](https://redirect.github.com/typeddjango/django-stubs/blob/master/CONTRIBUTING.md#tutorials) - [Or just open a discussion topic](https://redirect.github.com/typeddjango/django-stubs/discussions), feel free to ping [@&#8203;intgr](https://redirect.github.com/intgr) in the message. #### What's Changed - fix: allow `EmailMultiAlternatives` in `outbox` by [@&#8203;alexei](https://redirect.github.com/alexei) in [#&#8203;2922](https://redirect.github.com/typeddjango/django-stubs/pull/2922) - Fix infinite semantic analysis loop when using from\_queryset by [@&#8203;lee3jjang](https://redirect.github.com/lee3jjang) in [#&#8203;2935](https://redirect.github.com/typeddjango/django-stubs/pull/2935) - Fix dispatch\_uid type: str -> \_AnyHashable by [@&#8203;craigds](https://redirect.github.com/craigds) in [#&#8203;2950](https://redirect.github.com/typeddjango/django-stubs/pull/2950) - Update `get_auto_imports()` to also allow returning `None` by [@&#8203;jamesbeith](https://redirect.github.com/jamesbeith) in [#&#8203;2956](https://redirect.github.com/typeddjango/django-stubs/pull/2956) - Make LoginView generic over its form class by [@&#8203;slafs](https://redirect.github.com/slafs) in [#&#8203;2959](https://redirect.github.com/typeddjango/django-stubs/pull/2959) - fix: template type in template response by [@&#8203;alexei](https://redirect.github.com/alexei) in [#&#8203;2964](https://redirect.github.com/typeddjango/django-stubs/pull/2964) - fix: Annotate SessionStore with a type var for the Session type ([#&#8203;2056](https://redirect.github.com/typeddjango/django-stubs/issues/2056)) by [@&#8203;CharString](https://redirect.github.com/CharString) in [#&#8203;2969](https://redirect.github.com/typeddjango/django-stubs/pull/2969) - fix: `prefetch_related_objects` requires `Sequence` not `Iterable` by [@&#8203;emmanuel-ferdman](https://redirect.github.com/emmanuel-ferdman) in [#&#8203;2970](https://redirect.github.com/typeddjango/django-stubs/pull/2970) - Fix kwargs for `forms.widgets.Script` by [@&#8203;brianhelba](https://redirect.github.com/brianhelba) in [#&#8203;2973](https://redirect.github.com/typeddjango/django-stubs/pull/2973) - fix: django.contrib.gis.utils.LayerMapping attribute types by [@&#8203;kelvan](https://redirect.github.com/kelvan) in [#&#8203;2988](https://redirect.github.com/typeddjango/django-stubs/pull/2988) - Make all system checks return a `list`, not a `Sequence` by [@&#8203;brianhelba](https://redirect.github.com/brianhelba) in [#&#8203;2992](https://redirect.github.com/typeddjango/django-stubs/pull/2992) - Improve database-related check signatures by [@&#8203;brianhelba](https://redirect.github.com/brianhelba) in [#&#8203;2994](https://redirect.github.com/typeddjango/django-stubs/pull/2994) ##### Housekeeping - Update pyrefly to 0.44.0 by [@&#8203;sobolevn](https://redirect.github.com/sobolevn) in [#&#8203;2927](https://redirect.github.com/typeddjango/django-stubs/pull/2927) - Update django to 5.2.9 by [@&#8203;sobolevn](https://redirect.github.com/sobolevn) in [#&#8203;2928](https://redirect.github.com/typeddjango/django-stubs/pull/2928) - Renovate: mypy updates to widen accepted version range by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;2921](https://redirect.github.com/typeddjango/django-stubs/pull/2921) - CI: Downgrade to Python 3.10 for 'test-older-django' by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;2955](https://redirect.github.com/typeddjango/django-stubs/pull/2955) - Prepare for 5.2.9 release (without Django 6.0 changes) by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;2995](https://redirect.github.com/typeddjango/django-stubs/pull/2995) - Version 5.2.9 release by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;3007](https://redirect.github.com/typeddjango/django-stubs/pull/3007) #### New Contributors - [@&#8203;lee3jjang](https://redirect.github.com/lee3jjang) made their first contribution in [#&#8203;2935](https://redirect.github.com/typeddjango/django-stubs/pull/2935) - [@&#8203;jamesbeith](https://redirect.github.com/jamesbeith) made their first contribution in [#&#8203;2956](https://redirect.github.com/typeddjango/django-stubs/pull/2956) - [@&#8203;slafs](https://redirect.github.com/slafs) made their first contribution in [#&#8203;2959](https://redirect.github.com/typeddjango/django-stubs/pull/2959) - [@&#8203;CharString](https://redirect.github.com/CharString) made their first contribution in [#&#8203;2969](https://redirect.github.com/typeddjango/django-stubs/pull/2969) - [@&#8203;emmanuel-ferdman](https://redirect.github.com/emmanuel-ferdman) made their first contribution in [#&#8203;2970](https://redirect.github.com/typeddjango/django-stubs/pull/2970) - [@&#8203;kelvan](https://redirect.github.com/kelvan) made their first contribution in [#&#8203;2988](https://redirect.github.com/typeddjango/django-stubs/pull/2988) **Full Changelog**: <typeddjango/django-stubs@5.2.8...5.2.9> ### [`v5.2.8`](https://redirect.github.com/typeddjango/django-stubs/releases/tag/5.2.8) [Compare Source](https://redirect.github.com/typeddjango/django-stubs/compare/5.2.7...5.2.8) #### What's Changed - Run tests against the lowest supported django version by [@&#8203;UnknownPlatypus](https://redirect.github.com/UnknownPlatypus) in [#&#8203;2862](https://redirect.github.com/typeddjango/django-stubs/pull/2862) - fix: allow `django.shortcuts.resolve_url` to receive a str-promise by [@&#8203;alexei](https://redirect.github.com/alexei) in [#&#8203;2869](https://redirect.github.com/typeddjango/django-stubs/pull/2869) - fix: add type declarations for some missing settings by [@&#8203;alexei](https://redirect.github.com/alexei) in [#&#8203;2870](https://redirect.github.com/typeddjango/django-stubs/pull/2870) - fix: import all forms widgets by [@&#8203;alexei](https://redirect.github.com/alexei) in [#&#8203;2871](https://redirect.github.com/typeddjango/django-stubs/pull/2871) - Update assertContains and assertNotContains signatures by [@&#8203;SebCorbin](https://redirect.github.com/SebCorbin) in [#&#8203;2880](https://redirect.github.com/typeddjango/django-stubs/pull/2880) - Update middleware types by [@&#8203;UnknownPlatypus](https://redirect.github.com/UnknownPlatypus) in [#&#8203;2884](https://redirect.github.com/typeddjango/django-stubs/pull/2884) - Remove `str` from enum label types when we know for sure the labels are lazy by [@&#8203;rchen152](https://redirect.github.com/rchen152) in [#&#8203;2888](https://redirect.github.com/typeddjango/django-stubs/pull/2888) - Switch Dependabot to Renovate by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;2893](https://redirect.github.com/typeddjango/django-stubs/pull/2893) - CI: Only run branch tests on Renovate branches where it's needed by [@&#8203;intgr](https://redirect.github.com/intgr) in [#&#8203;2899](https://redirect.github.com/typeddjango/django-stubs/pull/2899) - fix: in db.models make required\_db\_vendor str by [@&#8203;Tatsh](https://redirect.github.com/Tatsh) in [#&#8203;2909](https://redirect.github.com/typeddjango/django-stubs/pull/2909) - Run pyrefly over test cases by [@&#8203;rchen152](https://redirect.github.com/rchen152) in [#&#8203;2914](https://redirect.github.com/typeddjango/django-stubs/pull/2914) - Mypy 1.19 by [@&#8203;sobolevn](https://redirect.github.com/sobolevn) in [#&#8203;2919](https://redirect.github.com/typeddjango/django-stubs/pull/2919) #### New Contributors - [@&#8203;alexei](https://redirect.github.com/alexei) made their first contribution in [#&#8203;2869](https://redirect.github.com/typeddjango/django-stubs/pull/2869) - [@&#8203;SebCorbin](https://redirect.github.com/SebCorbin) made their first contribution in [#&#8203;2880](https://redirect.github.com/typeddjango/django-stubs/pull/2880) - [@&#8203;rchen152](https://redirect.github.com/rchen152) made their first contribution in [#&#8203;2888](https://redirect.github.com/typeddjango/django-stubs/pull/2888) - [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] made their first contribution in [#&#8203;2895](https://redirect.github.com/typeddjango/django-stubs/pull/2895) **Full Changelog**: <typeddjango/django-stubs@5.2.7...5.2.8> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQyLjkyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>
1 parent bf0a3f3 commit 9a8bd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dev = [
5959
"tox==4.34.1; python_full_version >= '3.10'",
6060
"tox<4.34.2; python_full_version < '3.10'",
6161
"django-debug-toolbar==5.2.0",
62-
"django-stubs==5.2.7 ; python_full_version >= '3.10'",
62+
"django-stubs==5.2.9; python_full_version >= '3.10'",
6363
"licensecheck==2025.1.0",
6464
]
6565

0 commit comments

Comments
 (0)