chore(deps): update dependency django-stubs to v6 - #4122
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
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.2.9→==6.0.8Release Notes
typeddjango/django-stubs (django-stubs)
v6.0.8Compare Source
This is the last release with Django 6.0 full support.
The next release will be focused on Django 6.1 support with Django 6.0 partial support.
What's Changed
contrib.gisby @UnknownPlatypus in #3500objects/_default_managerattributes by @UnknownPlatypus in #3499find_memberby @UnknownPlatypus in #3501db.models,coreandmigrationsby @UnknownPlatypus in #3504core,apps,urlsandadmindocsby @UnknownPlatypus in #3503formsand improve types of lazy regexes by @01xnikhil in #3293django.tasksby @UnknownPlatypus in #3512apps.get_model()by @UnknownPlatypus in #3511settings.INSTALLED_APPSchange and cache full config computation by @UnknownPlatypus in #3514utilsandtemplatesby @UnknownPlatypus in #3513lookup_fully_qualifiedinstead of custom symbol lookup by @UnknownPlatypus in #3519has_baseinstead of a metadata registry by @UnknownPlatypus in #3520Field's by @UnknownPlatypus in #3522LogEntry,FlatPageandRedirectas assignments by @UnknownPlatypus in #3524distinct/update/in_bulkby @UnknownPlatypus in #3168View,TemplateView, andTemplateResponseMixingeneric on response type by @samueljsb in #2874HttpRequestby @bigfootjon in #2239TemplateViewopt-in by @UnknownPlatypus in #3543pyrefly/pyright/tybasic support by @sobolevn in #3562New Contributors
Full Changelog: typeddjango/django-stubs@6.0.7...6.0.8
v6.0.7: Version 6.0.7Compare Source
What's Changed
Field.formfieldkeyword args by @brianhelba in #3443New Contributors
Full Changelog: typeddjango/django-stubs@6.0.6...6.0.7
v6.0.6: Version 6.0.6Compare Source
What's Changed
taskdecorator typing fortakes_context=Trueby @federicobond in #3406validatorsconsistent by @brianhelba in #3433New Contributors
Full Changelog: typeddjango/django-stubs@6.0.5...6.0.6
v6.0.5: Version 6.0.5Compare Source
What's Changed
.annotate()is called on a generic QuerySet by @federicobond in #3379__inlookup by @ngnpope in #3314pyreflyto 1.0.0 by @sobolevn in #3386related_modeltype for mypy 2.1 by @UnknownPlatypus in #3388empty-bodyerror code for mypy and ty by @ngnpope in #3390mark_safeto acceptStrOrPromiseby @Alexerson in #3392unused-ignorecode in pyrefly by @UnknownPlatypus in #3393AdminSite.registertyping by @noamkush in #3387New Contributors
Full Changelog: typeddjango/django-stubs@6.0.4...6.0.5
v6.0.4Compare Source
mypy@2.0support is added.What's Changed
RedisCache._cacheby @sobolevn in #3337analyze_member_accesshelper into helpers module by @UnknownPlatypus in #3339defaultsandcreate_defaultsdict literals by @federicobond in #3326finders.find(all=...)by @UnknownPlatypus in #3352EmailMessage.message()return as stdlibemail.message.EmailMessageby @ahmedasar00 in #3291str/CombinableforAggregate.order_byby @federicobond in #3357__init__stubs by @federicobond in #3359**flagswith explicit kwargs onLibrary.filterby @federicobond in #3360default_aliasfor positional Aggregate inannotate()by @federicobond in #3362New Contributors
Full Changelog: typeddjango/django-stubs@6.0.3...6.0.4
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 #3186Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.