fix(deps): update django-stubs #3107
Open
+22
−22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.2.2→==5.2.9==5.2.2→==5.2.9==1.19.0→==1.19.1Release Notes
typeddjango/django-stubs (django-stubs)
v5.2.9Compare Source
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
And by the way, we are still missing some things from previous Django versions too! Check earlier release note, other
allowlist_todo*.txtfiles and #1493 (comment)🤝 You help us, we help you
If want to help but you are not sure how to implement something in stubs:
What's Changed
EmailMultiAlternativesinoutboxby @alexei in #2922get_auto_imports()to also allow returningNoneby @jamesbeith in #2956prefetch_related_objectsrequiresSequencenotIterableby @emmanuel-ferdman in #2970forms.widgets.Scriptby @brianhelba in #2973list, not aSequenceby @brianhelba in #2992Housekeeping
New Contributors
Full Changelog: typeddjango/django-stubs@5.2.8...5.2.9
v5.2.8Compare Source
What's Changed
django.shortcuts.resolve_urlto receive a str-promise by @alexei in #2869strfrom enum label types when we know for sure the labels are lazy by @rchen152 in #2888New Contributors
Full Changelog: typeddjango/django-stubs@5.2.7...5.2.8
v5.2.7Compare Source
What's Changed
Fixes a regression in django-stubs version 5.2.6:
Full Changelog: typeddjango/django-stubs@5.2.6...5.2.7
v5.2.6Compare Source
What's Changed
Improvements
add_orderingsignature too by @UnknownPlatypus in #2822related_query_nameinModel._meta.get_fieldsby @UnknownPlatypus in #2821strict_model_abstract_attrssetting to allowmodels.Model.objectsaccess by @sobolevn in #2830_replace_type_varthat can potentially cause cache problems by @sobolevn in #2834union/intersection/differenceto support QuerySet usingvalues_listandvaluesby @UnknownPlatypus in #2829log_actiondeprecation notice by @UnknownPlatypus in #2839.values/.values_listcalls by @UnknownPlatypus in #2836GenericPrefetchby @UnknownPlatypus in #2851agetcalls by @UnknownPlatypus in #2856fieldsargument tobulk_updateby @UnknownPlatypus in #2808Housekeeping & CI
mypy_primerworkflow by @sobolevn in #2819django.contrib.contenttypesinstalled app in tests by @UnknownPlatypus in #2853pyproject.tomlby @intgr in #2847Ruff
ruffto0.13.0by @sobolevn in #2828uvpackage manageruvby @intgr in #2846uv_buildbuild system & cleanup by @intgr in #2848uvworkspace fordjango-stubs-extalso by @intgr in #2857New Contributors
Full Changelog: typeddjango/django-stubs@5.2.5...5.2.6
v5.2.5Compare Source
What's Changed
_StrPromisereturned byreverse_lazyby @sobolevn in #2814.order_byto accept anyCombinableby @sobolevn in #2816Full Changelog: typeddjango/django-stubs@5.2.4...5.2.5
v5.2.4Compare Source
What's Changed
TestClient.getregression by @sobolevn in #2812Full Changelog: typeddjango/django-stubs@5.2.3...5.2.4
v5.2.3Compare Source
What's Changed
Model._meta.get_field("field_name")type inference by @UnknownPlatypus in #2748__init__calls by @UnknownPlatypus in #2749settings.TEMPLATEtypes by @UnknownPlatypus in #2741content_type_extracontainsbytes, notstrby @alexmv in #2754reverse_lazy()by @pgcd in #2766FormMixin.success_urlto_StrOrPromiseby @pgcd in #2769BaseForm.add_error()in documentation by @CarrotManMatt in #2774OrderedDictusage, this is the default since py 3.6 by @UnknownPlatypus in #2780get_current_moduleutil by @UnknownPlatypus in #2781to_attrinferrence inPrefetchcalls by @UnknownPlatypus in #2779get_class_init_argument_by_nameinresolve_many_to_many_argumentsby @UnknownPlatypus in #2782Modelinference from customQuerySet/Managerby @UnknownPlatypus in #2784Prefetchas generic and do specialization in the plugin by @UnknownPlatypus in #2786Meta.permissionstype by @UnknownPlatypus in #2787prefetch_relatedcalls by @UnknownPlatypus in #2789TypedModelMetaby @UnknownPlatypus in #2788.select_relatedstubs by @UnknownPlatypus in #2792.prefetch_related(..., to_attr="foo")conflict with.annotate(foo=...)by @UnknownPlatypus in #2791to_attrtarget (alredy defined fields) by @UnknownPlatypus in #2794order_by/defer/only/distinct/order_by/explain/dates/datetimesby @UnknownPlatypus in #2795prefetch_relatedtypes with an overload by @UnknownPlatypus in #2793to_attrtargets by @UnknownPlatypus in #2797select_relatedlookups by @UnknownPlatypus in #2806New Contributors
Full Changelog: typeddjango/django-stubs@5.2.2...5.2.3
python/mypy (mypy)
v1.19.1Compare Source
types.NoneTypein match cases (A5rocks, PR 20383)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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.