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

This commit is contained in:
Christian Hartung authored and GitHub committed 2026-03-20 09:34:41 +01:00
1 parent 50ec9108eb
commit 8193aa109c
2 files changed
+2 -1

No files matched your search

@@ -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']