Skip to content

Move typing_extensions to stdlib #5233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 21, 2021
Merged

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Apr 19, 2021

I'm not sure what the best way to do this is. This effectively orphans
types-typing-extensions, but maybe that's not really a problem. (We can
yank the package too)

See #5229 (comment)
for some details, could also help issues like #5065

I'm not sure what the best way to do this is. This effectively orphans
types-typing-extensions, but maybe that's not really a problem. (We can
yank the package too)

See python#5229 (comment)
for some details
@hauntsaninja hauntsaninja marked this pull request as draft April 19, 2021 20:56
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

scipy (https://github.com/scipy/scipy.git)
- scipy/special/orthogonal.pyi:10: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- scipy/special/orthogonal.pyi:66: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:87: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:106: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:120: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:133: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:146: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:163: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:177: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:190: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:203: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:216: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:229: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:242: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:255: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
- scipy/special/orthogonal.pyi:268: error: Overloaded function signature 3 will never be matched: signature 2's parameter type(s) are the same or broader  [misc]
+ scipy/special/__init__.py:643: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- scipy/integrate/_quadrature.py:55: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- scipy/integrate/_quadrature.py:55: note: (or run "mypy --install-types" to install all missing stub packages)
- scipy/integrate/_quadrature.py:55: note: Hint: "python3 -m pip install types-typing-extensions"
- scipy/integrate/_quadrature.py:55: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- scipy/special/tests/test_orthogonal.py:353: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:354: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:355: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:358: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:405: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:406: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:407: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:410: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:429: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:430: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:431: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:434: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:438: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:439: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:440: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:441: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:441: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:485: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:486: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:487: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:490: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:529: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:530: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:531: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:534: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:547: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:548: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:549: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:552: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:570: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:571: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:572: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:575: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:587: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:588: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:589: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:592: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:604: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:605: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:606: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:609: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:622: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:623: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:624: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:627: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:640: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:641: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:642: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:645: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:659: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:660: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:661: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:664: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:678: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:679: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:680: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:683: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:697: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:698: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:699: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:702: error: Cannot determine type of 'm'  [has-type]
- scipy/special/tests/test_orthogonal.py:734: error: Need more than 2 values to unpack (3 expected)  [misc]
- scipy/special/tests/test_orthogonal.py:735: error: Cannot determine type of 'y'  [has-type]
- scipy/special/tests/test_orthogonal.py:736: error: Cannot determine type of 'v'  [has-type]
- scipy/special/tests/test_orthogonal.py:739: error: Cannot determine type of 'm'  [has-type]

mypy (https://github.com/python/mypy.git)
- mypy/binder.py:5: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/binder.py:5: note: (or run "mypy --install-types" to install all missing stub packages)
- mypy/binder.py:5: note: Hint: "python3 -m pip install types-typing-extensions"
- mypy/binder.py:5: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
+ mypy/bogus_type.py:13: note: (or run "mypy --install-types" to install all missing stub packages)
- mypy/build.py:26: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
+ mypy/bogus_type.py:13: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- mypy/checker.py:11: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/checkexpr.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/checkmember.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/checkstrformat.py:18: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/config_parser.py:10: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/constraints.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/defaults.py:3: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/dmypy_server.py:20: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/dmypy_util.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/errorcodes.py:7: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/errors.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/fastparse.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/fastparse2.py:22: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/find_sources.py:7: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/fixup.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/ipc.py:14: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/literals.py:2: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/main.py:11: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/message_registry.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/messages.py:18: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/metastore.py:17: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/modulefinder.py:16: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/nodes.py:10: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/options.py:6: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/plugins/attrs.py:6: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/plugins/dataclasses.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/plugins/enums.py:14: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/reachability.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/renaming.py:2: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/report.py:17: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal.py:56: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal_classprop.py:7: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal_main.py:29: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal_namedtuple.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal_shared.py:6: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/semanal_typeddict.py:5: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/server/deps.py:83: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/server/mergecheck.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/server/objgraph.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/server/trigger.py:3: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/server/update.py:121: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/sharedparse.py:2: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/stats.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/stubdoc.py:14: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/stubgen.py:59: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/stubtest.py:20: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/stubutil.py:11: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/subtypes.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/suggestions.py:28: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/test/testdeps.py:7: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/typeanal.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/typeops.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/types.py:12: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/typestate.py:7: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/util.py:15: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypy/visitor.py:5: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/build.py:28: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/codegen/cstring.py:23: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/codegen/emitfunc.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/codegen/literals.py:3: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/common.py:5: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/crash.py:2: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/ir/func_ir.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/ir/ops.py:17: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/ir/pprint.py:5: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/ir/rtypes.py:26: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/builder.py:15: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/classdef.py:4: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/for_helpers.py:9: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/ll_builder.py:15: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/nonlocalcontrol.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/irbuild/visitor.py:6: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]
- mypyc/primitives/registry.py:39: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.5)  [import]


itsdangerous (https://github.com/pallets/itsdangerous)
- src/itsdangerous/timed.py:23: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.6)
- src/itsdangerous/timed.py:23: note: (or run "mypy --install-types" to install all missing stub packages)
- src/itsdangerous/timed.py:23: note: Hint: "python3 -m pip install types-typing-extensions"
- src/itsdangerous/timed.py:23: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- src/itsdangerous/timed.py:61: error: unused 'type: ignore' comment
- src/itsdangerous/timed.py:70: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader
- src/itsdangerous/timed.py:206: error: Argument 1 to "load_payload" of "Serializer" has incompatible type "int"; expected "bytes"

aiohttp (https://github.com/aio-libs/aiohttp.git)
- aiohttp/hdrs.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/hdrs.py:10: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:11: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:12: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:13: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:14: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:15: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:16: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:17: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:18: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:19: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:21: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:33: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:34: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:35: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:36: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:37: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:38: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:39: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:40: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:41: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:42: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:43: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:44: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:45: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:46: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:47: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:48: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:49: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:50: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:51: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:52: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:53: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:54: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:55: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:56: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:57: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:58: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:59: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:60: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:61: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:62: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:63: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:64: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:65: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:66: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:67: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:68: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:69: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:70: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:71: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:72: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:73: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:74: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:75: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:76: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:77: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:78: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:79: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:80: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:81: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:82: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:83: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:84: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:85: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:86: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:87: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:88: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:89: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:90: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:91: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:92: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:93: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:94: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:95: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:96: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:97: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:98: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:99: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:100: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:101: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:102: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:103: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:104: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:105: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:106: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:107: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:108: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/hdrs.py:109: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/locks.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/locks.py:8: error: Name 'Deque' already defined (possibly by an import)  [no-redef]
- aiohttp/helpers.py:47: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/helpers.py:62: error: Name 'ContextManager' already defined (possibly by an import)  [no-redef]
- aiohttp/helpers.py:427: error: Base type Protocol becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/helpers.py:427: error: Class cannot subclass 'Protocol' (has type 'Any')  [misc]
- aiohttp/streams.py:6: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/streams.py:15: error: Name 'Deque' already defined (possibly by an import)  [no-redef]
- aiohttp/streams.py:549: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/payload.py:26: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/payload.py:56: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:14: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/http_websocket.py:49: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:67: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:77: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:78: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:112: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:116: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:153: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:156: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_websocket.py:164: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_parser.py:25: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/http_parser.py:61: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_parser.py:70: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_parser.py:71: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/http_parser.py:72: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:32: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/web_urldispatcher.py:73: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:75: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:78: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:81: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:89: error: Base type TypedDict becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_urldispatcher.py:89: error: Class cannot subclass 'TypedDict' (has type 'Any')  [misc]
- aiohttp/web_urldispatcher.py:89: error: Unexpected keyword argument "total" for "__init_subclass__" of "object"  [call-arg]
- aiohttp/web_urldispatcher.py:244: error: unused 'type: ignore' comment
- aiohttp/web_urldispatcher.py:308: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_urldispatcher.py:309: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_urldispatcher.py:350: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/web_urldispatcher.py:358: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_urldispatcher.py:407: error: Incompatible return value type (got "Dict[str, str]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:480: error: Incompatible return value type (got "Dict[str, object]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:603: error: Incompatible return value type (got "Dict[str, object]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:617: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/web_urldispatcher.py:618: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_urldispatcher.py:636: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[UrlMappingMatchInfo]"  [arg-type]
- aiohttp/web_urldispatcher.py:732: error: Incompatible return value type (got "Dict[str, Collection[str]]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:736: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/web_urldispatcher.py:737: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/web_urldispatcher.py:803: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_urldispatcher.py:812: error: Incompatible return value type (got "Dict[str, str]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:843: error: Incompatible return value type (got "Dict[str, object]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:909: error: Incompatible return value type (got "Dict[str, HTTPException]", expected "_InfoDict")  [return-value]
- aiohttp/web_urldispatcher.py:928: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_urldispatcher.py:931: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_urldispatcher.py:943: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_urldispatcher.py:987: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_response.py:340: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_response.py:371: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[bool]"  [arg-type]
- aiohttp/web_response.py:374: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_response.py:386: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_response.py:427: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_response.py:476: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_request.py:30: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/web_request.py:83: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:86: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:88: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:94: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:96: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:100: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:106: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:109: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_request.py:303: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_request.py:430: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_request.py:496: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:504: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:542: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:550: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:558: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:571: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:673: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_request.py:716: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:722: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:742: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:743: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:748: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:754: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:756: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_request.py:797: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:89: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[UrlMappingMatchInfo]"  [arg-type]
- aiohttp/web_middlewares.py:91: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:92: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:96: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:100: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:102: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:114: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_middlewares.py:123: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[UrlMappingMatchInfo]"  [arg-type]
- aiohttp/web_log.py:128: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_log.py:141: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/web_log.py:160: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_log.py:161: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_log.py:162: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_log.py:163: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[HttpVersion]"  [arg-type]
- aiohttp/web_fileresponse.py:20: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/web_fileresponse.py:43: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_fileresponse.py:136: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_fileresponse.py:150: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[Tuple[ETag, ...]]]"  [arg-type]
- aiohttp/web_fileresponse.py:154: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[datetime]]"  [arg-type]
- aiohttp/web_fileresponse.py:162: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[Tuple[ETag, ...]]]"  [arg-type]
- aiohttp/web_fileresponse.py:166: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[datetime]]"  [arg-type]
- aiohttp/web_fileresponse.py:189: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[Optional[datetime]]"  [arg-type]
- aiohttp/web_fileresponse.py:199: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[slice]"  [arg-type]
- aiohttp/web_fileresponse.py:277: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[str]"  [arg-type]
- aiohttp/web_app.py:27: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/web_app.py:338: error: Argument 1 to "__get__" of "reify" has incompatible type "Request"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/tracing.py:12: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/tracing.py:18: error: Base type becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/tracing.py:18: error: Class cannot subclass value of type 'Any'  [misc]
- aiohttp/multipart.py:542: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/multipart.py:543: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/multipart.py:544: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/multipart.py:545: error: Argument 1 to "__get__" of "reify" has incompatible type "BodyPartReader"; expected "_TSelf[Optional[str]]"  [arg-type]
- aiohttp/multipart.py:610: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/connector.py:1101: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/connector.py:1102: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/connector.py:1105: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_ws.py:8: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/client_ws.py:37: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
+ aiohttp/client_reqrep.py:73: note: (or run "mypy --install-types" to install all missing stub packages)
- aiohttp/client_reqrep.py:756: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/client_reqrep.py:769: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:783: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:811: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/client_reqrep.py:831: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client_reqrep.py:832: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client_reqrep.py:861: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:935: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client_reqrep.py:936: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client_reqrep.py:939: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:969: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/client_reqrep.py:980: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:1029: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client_reqrep.py:1032: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client_reqrep.py:1033: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client_reqrep.py:1037: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:34: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/client.py:34: note: (or run "mypy --install-types" to install all missing stub packages)
- aiohttp/client.py:34: note: Hint: "python3 -m pip install types-typing-extensions"
- aiohttp/client.py:34: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
+ aiohttp/client_reqrep.py:73: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- aiohttp/client.py:162: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/client.py:252: error: unused 'type: ignore' comment
- aiohttp/client.py:515: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[URL]"  [arg-type]
- aiohttp/client.py:530: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:543: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:752: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:753: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client.py:756: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:759: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:761: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:762: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client.py:765: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:768: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:770: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:771: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client.py:774: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:778: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:782: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:783: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client.py:786: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:791: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:794: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:805: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:811: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[RequestInfo]"  [arg-type]
- aiohttp/client.py:812: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[Tuple[ClientResponse, ...]]"  [arg-type]
- aiohttp/client.py:815: error: Argument 1 to "__get__" of "reify" has incompatible type "ClientResponse"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/client.py:969: error: Returning Any from function declared to return "Union[object, ClientTimeout]"  [no-any-return]
- aiohttp/web_ws.py:11: error: Library stubs not installed for "typing_extensions" (or incompatible with Python 3.8)  [import]
- aiohttp/web_ws.py:42: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
- aiohttp/web_ws.py:170: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/web_ws.py:224: error: unused 'type: ignore' comment
- aiohttp/web_protocol.py:662: error: Argument 1 to "__get__" of "reify" has incompatible type "BaseRequest"; expected "_TSelf[CIMultiDictProxy[str]]"  [arg-type]
- aiohttp/pytest_plugin.py:136: error: "None" has no attribute "__iter__" (not iterable)  [attr-defined]
- aiohttp/pytest_plugin.py:147: error: "None" has no attribute "__iter__" (not iterable)  [attr-defined]

@hauntsaninja hauntsaninja marked this pull request as ready for review April 19, 2021 23:31
Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try this!

@JukkaL
Copy link
Contributor

JukkaL commented Apr 20, 2021

This makes sense. To fix mypy primer, I think that we'll need to sync typeshed afterwards.

@JelleZijlstra
Copy link
Member

The hard question might be what to do about types-typing-extensions on PyPI. Can we just remove it? Or is it already being used, perhaps by people using other typecheckers than mypy?

@hauntsaninja
Copy link
Collaborator Author

Fwiw, https://grep.app/ doesn't really show any usage. Mypy hasn't made a release either. I wouldn't be surprised if most usage was in typeshed and mypy CI. However, we have published other stub packages that declare dependencies on types-typing-extensions, so I wouldn't yank it. I propose merging and making an announcement issue.

@hauntsaninja hauntsaninja merged commit fc660d6 into python:master Apr 21, 2021
@hauntsaninja hauntsaninja deleted the typex branch April 21, 2021 04:55
hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this pull request Apr 21, 2021
hauntsaninja added a commit to python/mypy that referenced this pull request Apr 21, 2021
This is due to python/typeshed#5233

Co-authored-by: hauntsaninja <>
srittau added a commit to typeshed-internal/stub_uploader that referenced this pull request Apr 30, 2021
Use typed-ast instead of typing-extensions as "well-known" package,
since typing-extensions are now considered part of the stdlib.

See python/typeshed#5233.
srittau added a commit to typeshed-internal/stub_uploader that referenced this pull request Apr 30, 2021
Use typed-ast instead of typing-extensions as "well-known" package,
since typing-extensions are now considered part of the stdlib.

See python/typeshed#5233.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants