[ty] The runtime object typing.Protocol is an instance of _ProtocolMeta by AlexWaygood · Pull Request #20488 · astral-sh/ruff (original) (raw)
async-utils (https://github.com/mikeshardmind/async-utils)
- src/async_utils/corofunc_cache.py:56:17: error[invalid-argument-type] Argument to class
typeis incorrect: Expectedtuple[type, ...], foundtuple[typing.Protocol] - src/async_utils/task_cache.py:57:17: error[invalid-argument-type] Argument to class
typeis incorrect: Expectedtuple[type, ...], foundtuple[typing.Protocol] - Found 29 diagnostics
- Found 27 diagnostics
spack (https://github.com/spack/spack)
- lib/spack/spack/vendor/typing_extensions.py:1037:25: error[invalid-base] Invalid class base with type
typing.Protocol | <class 'Protocol'>
- lib/spack/spack/vendor/typing_extensions.py:1037:25: warning[unsupported-base] Unsupported class base with type
typing.Protocol | <class 'Protocol'>
setuptools (https://github.com/pypa/setuptools)
- setuptools/_vendor/typing_extensions.py:572:25: error[subclass-of-final-class] Class
_ProtocolMetacannot inherit from final class_SpecialForm - setuptools/_vendor/typing_extensions.py:833:23: error[invalid-base] Invalid class base with type
object - setuptools/_vendor/typing_extensions.py:844:25: error[invalid-base] Invalid class base with type
object - Found 774 diagnostics
- Found 771 diagnostics