Commit 9a8bd69
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` | [](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 [#​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 [@​intgr](https://redirect.github.com/intgr) in
the message.
#### What's Changed
- fix: allow `EmailMultiAlternatives` in `outbox` by
[@​alexei](https://redirect.github.com/alexei) in
[#​2922](https://redirect.github.com/typeddjango/django-stubs/pull/2922)
- Fix infinite semantic analysis loop when using from\_queryset by
[@​lee3jjang](https://redirect.github.com/lee3jjang) in
[#​2935](https://redirect.github.com/typeddjango/django-stubs/pull/2935)
- Fix dispatch\_uid type: str -> \_AnyHashable by
[@​craigds](https://redirect.github.com/craigds) in
[#​2950](https://redirect.github.com/typeddjango/django-stubs/pull/2950)
- Update `get_auto_imports()` to also allow returning `None` by
[@​jamesbeith](https://redirect.github.com/jamesbeith) in
[#​2956](https://redirect.github.com/typeddjango/django-stubs/pull/2956)
- Make LoginView generic over its form class by
[@​slafs](https://redirect.github.com/slafs) in
[#​2959](https://redirect.github.com/typeddjango/django-stubs/pull/2959)
- fix: template type in template response by
[@​alexei](https://redirect.github.com/alexei) in
[#​2964](https://redirect.github.com/typeddjango/django-stubs/pull/2964)
- fix: Annotate SessionStore with a type var for the Session type
([#​2056](https://redirect.github.com/typeddjango/django-stubs/issues/2056))
by [@​CharString](https://redirect.github.com/CharString) in
[#​2969](https://redirect.github.com/typeddjango/django-stubs/pull/2969)
- fix: `prefetch_related_objects` requires `Sequence` not `Iterable` by
[@​emmanuel-ferdman](https://redirect.github.com/emmanuel-ferdman)
in
[#​2970](https://redirect.github.com/typeddjango/django-stubs/pull/2970)
- Fix kwargs for `forms.widgets.Script` by
[@​brianhelba](https://redirect.github.com/brianhelba) in
[#​2973](https://redirect.github.com/typeddjango/django-stubs/pull/2973)
- fix: django.contrib.gis.utils.LayerMapping attribute types by
[@​kelvan](https://redirect.github.com/kelvan) in
[#​2988](https://redirect.github.com/typeddjango/django-stubs/pull/2988)
- Make all system checks return a `list`, not a `Sequence` by
[@​brianhelba](https://redirect.github.com/brianhelba) in
[#​2992](https://redirect.github.com/typeddjango/django-stubs/pull/2992)
- Improve database-related check signatures by
[@​brianhelba](https://redirect.github.com/brianhelba) in
[#​2994](https://redirect.github.com/typeddjango/django-stubs/pull/2994)
##### Housekeeping
- Update pyrefly to 0.44.0 by
[@​sobolevn](https://redirect.github.com/sobolevn) in
[#​2927](https://redirect.github.com/typeddjango/django-stubs/pull/2927)
- Update django to 5.2.9 by
[@​sobolevn](https://redirect.github.com/sobolevn) in
[#​2928](https://redirect.github.com/typeddjango/django-stubs/pull/2928)
- Renovate: mypy updates to widen accepted version range by
[@​intgr](https://redirect.github.com/intgr) in
[#​2921](https://redirect.github.com/typeddjango/django-stubs/pull/2921)
- CI: Downgrade to Python 3.10 for 'test-older-django' by
[@​intgr](https://redirect.github.com/intgr) in
[#​2955](https://redirect.github.com/typeddjango/django-stubs/pull/2955)
- Prepare for 5.2.9 release (without Django 6.0 changes) by
[@​intgr](https://redirect.github.com/intgr) in
[#​2995](https://redirect.github.com/typeddjango/django-stubs/pull/2995)
- Version 5.2.9 release by
[@​intgr](https://redirect.github.com/intgr) in
[#​3007](https://redirect.github.com/typeddjango/django-stubs/pull/3007)
#### New Contributors
- [@​lee3jjang](https://redirect.github.com/lee3jjang) made their
first contribution in
[#​2935](https://redirect.github.com/typeddjango/django-stubs/pull/2935)
- [@​jamesbeith](https://redirect.github.com/jamesbeith) made
their first contribution in
[#​2956](https://redirect.github.com/typeddjango/django-stubs/pull/2956)
- [@​slafs](https://redirect.github.com/slafs) made their first
contribution in
[#​2959](https://redirect.github.com/typeddjango/django-stubs/pull/2959)
- [@​CharString](https://redirect.github.com/CharString) made
their first contribution in
[#​2969](https://redirect.github.com/typeddjango/django-stubs/pull/2969)
-
[@​emmanuel-ferdman](https://redirect.github.com/emmanuel-ferdman)
made their first contribution in
[#​2970](https://redirect.github.com/typeddjango/django-stubs/pull/2970)
- [@​kelvan](https://redirect.github.com/kelvan) made their first
contribution in
[#​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
[@​UnknownPlatypus](https://redirect.github.com/UnknownPlatypus)
in
[#​2862](https://redirect.github.com/typeddjango/django-stubs/pull/2862)
- fix: allow `django.shortcuts.resolve_url` to receive a str-promise by
[@​alexei](https://redirect.github.com/alexei) in
[#​2869](https://redirect.github.com/typeddjango/django-stubs/pull/2869)
- fix: add type declarations for some missing settings by
[@​alexei](https://redirect.github.com/alexei) in
[#​2870](https://redirect.github.com/typeddjango/django-stubs/pull/2870)
- fix: import all forms widgets by
[@​alexei](https://redirect.github.com/alexei) in
[#​2871](https://redirect.github.com/typeddjango/django-stubs/pull/2871)
- Update assertContains and assertNotContains signatures by
[@​SebCorbin](https://redirect.github.com/SebCorbin) in
[#​2880](https://redirect.github.com/typeddjango/django-stubs/pull/2880)
- Update middleware types by
[@​UnknownPlatypus](https://redirect.github.com/UnknownPlatypus)
in
[#​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 [@​rchen152](https://redirect.github.com/rchen152) in
[#​2888](https://redirect.github.com/typeddjango/django-stubs/pull/2888)
- Switch Dependabot to Renovate by
[@​intgr](https://redirect.github.com/intgr) in
[#​2893](https://redirect.github.com/typeddjango/django-stubs/pull/2893)
- CI: Only run branch tests on Renovate branches where it's needed by
[@​intgr](https://redirect.github.com/intgr) in
[#​2899](https://redirect.github.com/typeddjango/django-stubs/pull/2899)
- fix: in db.models make required\_db\_vendor str by
[@​Tatsh](https://redirect.github.com/Tatsh) in
[#​2909](https://redirect.github.com/typeddjango/django-stubs/pull/2909)
- Run pyrefly over test cases by
[@​rchen152](https://redirect.github.com/rchen152) in
[#​2914](https://redirect.github.com/typeddjango/django-stubs/pull/2914)
- Mypy 1.19 by [@​sobolevn](https://redirect.github.com/sobolevn)
in
[#​2919](https://redirect.github.com/typeddjango/django-stubs/pull/2919)
#### New Contributors
- [@​alexei](https://redirect.github.com/alexei) made their first
contribution in
[#​2869](https://redirect.github.com/typeddjango/django-stubs/pull/2869)
- [@​SebCorbin](https://redirect.github.com/SebCorbin) made their
first contribution in
[#​2880](https://redirect.github.com/typeddjango/django-stubs/pull/2880)
- [@​rchen152](https://redirect.github.com/rchen152) made their
first contribution in
[#​2888](https://redirect.github.com/typeddjango/django-stubs/pull/2888)
- [@​renovate](https://redirect.github.com/renovate)\[bot] made
their first contribution in
[#​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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments