Update dependency django-stubs to v6 #454
No reviewers
Labels
No labels
Security
TeX
board
done
board
ready
board
todo
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS!454
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/django-stubs-6.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR contains the following updates:
^5.0.0→^6.0.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: https://github.com/typeddjango/django-stubs/compare/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: https://github.com/typeddjango/django-stubs/compare/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: https://github.com/typeddjango/django-stubs/compare/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!
⚠️ Known issues
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: https://github.com/typeddjango/django-stubs/compare/5.2.9...6.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Mend Renovate.
mentioned in issue #33
added 3 commits
masterCompare with previous version
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
changed the description
added 15 commits
masterCompare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 11 commits
masterCompare with previous version
changed the description
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
changed the description
added 7 commits
masterCompare with previous version
changed the description
changed the description
changed the description
added 2 commits
efdee08a- 1 commit from branchmasterCompare with previous version
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
changed the description
changed the description
added 2 commits
9312c4e5- 1 commit from branchmasterCompare with previous version
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 3 commits
masterCompare with previous version
added 4 commits
masterCompare with previous version
added 1 commit
Compare with previous version
added 2 commits
bb6d295e- 1 commit from branchmasterCompare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
changed the description
changed the description
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
changed the description
changed the description
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
changed the description
changed the description
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
changed the description
added 1 commit
Compare with previous version
changed the description
added 1 commit
f7642ee9- Update dependency django-stubs to v6Compare with previous version
changed the description
mentioned in commit
4b970f463d