From 8aaa86f6a4b5f518734973884d14bf4da0f6f399 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sat, 1 Nov 2025 19:35:30 +0100 Subject: [PATCH] [jwcrypto] Work around stubtest issues (#14961) See https://github.com/python/mypy/issues/20160 for details. Closes: #14893 --------- Co-authored-by: Semyon Moroz --- stubs/jwcrypto/@tests/stubtest_allowlist.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stubs/jwcrypto/@tests/stubtest_allowlist.txt b/stubs/jwcrypto/@tests/stubtest_allowlist.txt index 10f855e9e..b81e7c4ba 100644 --- a/stubs/jwcrypto/@tests/stubtest_allowlist.txt +++ b/stubs/jwcrypto/@tests/stubtest_allowlist.txt @@ -4,3 +4,6 @@ jwcrypto.tests-cookbook # even if the deprecated decorator is applied, the attribute is not present jwcrypto.jwt.JWTMissingKeyID.__deprecated__ + +# https://github.com/python/mypy/issues/20160 +(jwcrypto.jwt.JWTMissingKeyID.__init_subclass__)?