Skip to content

Commit 8193aa1

Browse files
[channels] Relax django-stubs dependency (#15524)
1 parent 50ec910 commit 8193aa1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stubs/channels/@tests/stubtest_allowlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ channels.auth.UserLazyObject
44
# these one need to be exclude due to mypy error: * is not present at runtime
55
channels.auth.UserLazyObject.DoesNotExist
66
channels.auth.UserLazyObject.MultipleObjectsReturned
7+
channels.auth.UserLazyObject.NotUpdated
78
channels.auth.UserLazyObject@AnnotatedWith
89

910
# database_sync_to_async is implemented as a class instance but stubbed as a function

stubs/channels/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version = "4.3.*"
22
upstream_repository = "https://github.com/django/channels"
3-
requires = ["django-stubs>=4.2,<5.3", "asgiref"]
3+
requires = ["django-stubs>=4.2", "asgiref"]
44

55
[tool.stubtest]
66
mypy_plugins = ['mypy_django_plugin.main']

0 commit comments

Comments
 (0)