[channels] Relax django-stubs dependency (#15524)

This commit is contained in:
Christian Hartung
2026-03-20 05:34:41 -03:00
committed by GitHub
parent 50ec9108eb
commit 8193aa109c
2 changed files with 2 additions and 1 deletions
@@ -4,6 +4,7 @@ channels.auth.UserLazyObject
# these one need to be exclude due to mypy error: * is not present at runtime
channels.auth.UserLazyObject.DoesNotExist
channels.auth.UserLazyObject.MultipleObjectsReturned
channels.auth.UserLazyObject.NotUpdated
channels.auth.UserLazyObject@AnnotatedWith
# database_sync_to_async is implemented as a class instance but stubbed as a function
+1 -1
View File
@@ -1,6 +1,6 @@
version = "4.3.*"
upstream_repository = "https://github.com/django/channels"
requires = ["django-stubs>=4.2,<5.3", "asgiref"]
requires = ["django-stubs>=4.2", "asgiref"]
[tool.stubtest]
mypy_plugins = ['mypy_django_plugin.main']