Skip to content

fix(deps): update dependency django-stubs to v6.1.1 - #1058

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/django-stubs-6.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/django-stubs-6.x

Conversation

@renovate

@renovate renovate Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
django-stubs (changelog) ==6.0.9==6.1.1 age confidence

Release Notes

typeddjango/django-stubs (django-stubs)

v6.1.1

Compare Source

Highlight

This release does some changes around Manager / RelatedManager and the auto generated objects attribute to work better with typechecker like pyright / ty / pyrefly and be more strict about the fact that MyModel().objects is not valid.

However, to support that, existing broad annotations of related managers need to be narrowed or access to these related managers will be flagged as an error. For ex:

from django.db import models
from django_stubs_ext.db.models.manager import ManyRelatedManager, RelatedManager

class Article(models.Model):
-    category_set: Manager[Category]
+    category_set: RelatedManager[Category]
-    tags: Manager[Tag, ArticleTag]
+    tags: ManyRelatedManager[Tag, ArticleTag]

If you use the mypy plugin, you should also be able to drop these annotation completely in most cases. The plugin infers these types automatically.

See https://github.com/typeddjango/django-stubs#do-i-need-to-annotate-reverse-relations

What's Changed
New Contributors

Full Changelog: typeddjango/django-stubs@6.1.0...6.1.1

v6.1.0

Compare Source

What's Changed

This is the first Django 6.1 release 🎉

Django 6.0 and 5.2 are now in partial support mode.
Django 5.1 and 5.0 support was dropped (techically they would still work, but we don't test them no more).
Python 3.10 support was dropped.

Feedback is very welcome! 👍

Full Changelog: typeddjango/django-stubs@6.0.9...6.1.0


Configuration

📅 Schedule: (UTC)

  • 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) August 12, 2026 12:33
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.64%. Comparing base (b7aa988) to head (4bac502).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1058   +/-   ##
=======================================
  Coverage   94.64%   94.64%           
=======================================
  Files          42       42           
  Lines        1738     1738           
  Branches       86       86           
=======================================
  Hits         1645     1645           
  Misses         67       67           
  Partials       26       26           
Flag Coverage Δ
unittests 94.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 6 times, most recently from bac63cb to f1e186c Compare August 19, 2026 23:39
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 9 times, most recently from cf908e1 to 65ebe42 Compare August 27, 2026 06:37
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 5 times, most recently from 821f0d1 to a3e406e Compare September 2, 2026 21:56
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 8 times, most recently from 6800b14 to df750df Compare September 10, 2026 04:08
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 8 times, most recently from 7917036 to d595ce6 Compare September 14, 2026 17:06
@renovate renovate Bot changed the title fix(deps): update dependency django-stubs to v6.1.0 fix(deps): update dependency django-stubs to v6.1.1 Sep 14, 2026
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 6 times, most recently from d59c8a9 to 5bf744b Compare September 19, 2026 00:15
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from 5bf744b to 4bac502 Compare September 19, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants