deps: update dependency django-stubs to v6#208
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #208 +/- ##
=======================================
Coverage 97.26% 97.26%
=======================================
Files 104 104
Lines 4459 4459
=======================================
Hits 4337 4337
Misses 122 122 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.1.3, <6.0.0→>=6.0.3, <6.1.0Release Notes
typeddjango/django-stubs (django-stubs)
v6.0.3Compare Source
What's Changed
reveal_type()andreveal_locals()by @ngnpope in #3255.values_list()field types on annotated querysets by @federicobond in #3253__eq__to CaseInsensitiveMapping by @hauntsaninja in #3256TypedDictTypedirectly when merging typeddict by @UnknownPlatypus in #3262databasestype inSimpleTestCaseto useLiteral["__all__"]by @ahmedasar00 in #3264.annotate(...)on custom boundQuerySetby @UnknownPlatypus in #3271ignoreDepsto prevent Renovate from updating Python versions by @UnknownPlatypus in #3280WithAnnotationsthrough customQuerySetmethods by @UnknownPlatypus in #3266build_q_object_from_lookup_parametersparameter type by @alessio-b2c2 in #3277ListFilter.used_parametersand params types in admin filter stubs by @alessio-b2c2 in #3187__deepcopy__return type by @ahmedasar00 in #3275namesarg toQuery.names_to_pathtoSequence[str]by @joshuadavidthomas in #3285(a)get_or_createand(a)update_or_createkwargs by @federicobond in #3309New Contributors
Full Changelog: typeddjango/django-stubs@6.0.2...6.0.3
v6.0.2Compare Source
What's Changed
We now officially support
mypy@1.20.Since this release we run
tyover our test cases.swappableparameter to ForeignKey and OneToOneField by @emmanuel-ferdman in #3204backendattribute stub for authenticated users by @emmanuel-ferdman in #3210inoperator false positive with union types by @emmanuel-ferdman in #3206DJANGO_SETTINGS_MODULEis set by @emmanuel-ferdman in #3223NestedObjects.nestedreturn type tolist[Any]by @emmanuel-ferdman in #3226Modelinstead ofSelfin parms and addAltersDatainheritance by @emmanuel-ferdman in #3228django_stubs_extby @UnknownPlatypus in #3237booleanandempty_valuein admindisplaydecorator by @UnknownPlatypus in #3242field.attnamewith fallback tofield.nameby @UnknownPlatypus in #3248.values()field types on annotated querysets by @federicobond in #3232New Contributors
Full Changelog: typeddjango/django-stubs@6.0.1...6.0.2
v6.0.1Compare Source
What's Changed
serve()return type to includeHttpResponseby @emmanuel-ferdman in #3199Metaclass stubs for auth and session models by @emmanuel-ferdman in #3200.order_byvalidation for abstract models by @UnknownPlatypus in #3197Full Changelog: typeddjango/django-stubs@6.0.0...6.0.1
v6.0.0Compare Source
This version add stubs coverage to all known Django 6.0 functionality. If you find anything missing, please open an issue.
Besides Django 6.0 updates, there is an even larger number of other improvements.
Many thanks to everyone who helped out, the amount of contributions has been amazing!
There is a crash bug in the mypy plugin, when checking code that uses
QuerySet.order_by()with abstract models. Please follow #3184Django 6.0 stubs updates
databases=parameter tocheck_generic_foreign_keys,check_model_name_lengthsby @Tosinibikunle in #2951__del__methods by @UnknownPlatypus in #2974SetPasswordMixin.__class_getitem__by @sobolevn in #2985main/django/contrib/auth/admin.pyby @sobolevn in #2986ForminDeleteViewtype parameters by @emmanuel-ferdman in #2996FileFieldandImageFieldinstance access return types by @emmanuel-ferdman in #2997Other stubs improvements
SessionBasedict method signatures by @emmanuel-ferdman in #3020LimitedStreamstub signatures by @emmanuel-ferdman in #3022IO[bytes]with_PostDataProtocolto fixHttpRequestcompatibility by @Skyiesac in #3167ResponseHeaderscan take any mapping, not justdictby @sobolevn in #3014formfield_callbackto returnNoneby @emmanuel-ferdman in #3021response_gone_classby @UnknownPlatypus in #3061get_violation_error_messageto return dictionaries by @meunomemauricio in #3065SubqueryandExiststo accept subquery inputs by @emmanuel-ferdman in #3103AdminSeleniumTestCase.assertCountSeleniumElementsby @DeXtAr47-oss in #3117BaseDatabaseFeatures.rounds_to_evenby @JaeHyuckSa in #3128django.db.models.fields.tuple_lookups moduleby @JaeHyuckSa in #3131ForeignKey.cast_db_typemethod by @JaeHyuckSa in #3126BaseDatabaseFeatures.supports_tuple_lookupsby @JaeHyuckSa in #3129Q.identitycached_propertyby @JaeHyuckSa in #3127BaseDatabaseSchemaEditor.sql_pk_constraintby @JaeHyuckSa in #3130MySQLGISSchemaEditor.__init__by @JaeHyuckSa in #3139django.utils.datastructures.ImmutableListby @ngnpope in #3155django.db.models.expressions.Windowby @ngnpope in #3170value_to_stringreturn types for JSONField and RangeField by @emmanuel-ferdman in #3188allowed_defaultin expression classes by @ahmedasar00 in #3186Plugin updates
NotUpdatedexception by @ngnpope in #3046Prefetch+to_attrand multiple levels by @UnknownPlatypus in #3151update_fieldsandunique_fieldsofbulk_createby @UnknownPlatypus in #3150earliest/latest/orderbyby @UnknownPlatypus in #3158only/deferby @UnknownPlatypus in #3165Housekeeping
_PropertyDescriptorusage inresponse.pyiby @sobolevn in #3086django.utils.inspectstubtest errors on Python 3.14+ by @ngnpope in #3152explicit-overrideand--disallow-subclassing-anyby @ngnpope in #3172django-modern-restto the README by @sobolevn in #3183New Contributors
Full Changelog: typeddjango/django-stubs@5.2.9...6.0.0
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
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.