allow disjoint types in Mapping.get MutableMapping.pop, dict.get, dic… #34732
tests.yml
on: pull_request
Check typeshed structure
10s
mypy: Run test cases
6m 41s
stub_uploader tests
4m 53s
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Annotations
45 errors
|
pyright: Run test cases (Linux, 3.11)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.13)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.13)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.9)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.9)
Exit code 1
|
|
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L157
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_DictLike[Incomplete, Incomplete]"
"dict[Any, Any]" is incompatible with protocol "_DictLike[Incomplete, Incomplete]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_DictLike, default: Any | None = None, /) -> (_VT_co@_DictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L152
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_MutableDictLike[Incomplete, Incomplete]"
"dict[Any, Any]" is incompatible with protocol "_MutableDictLike[Incomplete, Incomplete]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_MutableDictLike, default: Any | None = None, /) -> (_VT_co@_MutableDictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L151
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_DictLike[Incomplete, Incomplete]"
"dict[Any, Any]" is incompatible with protocol "_DictLike[Incomplete, Incomplete]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_DictLike, default: Any | None = None, /) -> (_VT_co@_DictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L142
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_DictLike[str, list[str]]"
"dict[Any, Any]" is incompatible with protocol "_DictLike[str, list[str]]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_DictLike, default: Any | None = None, /) -> (_VT_co@_DictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L130
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_MutableDictLike[str, bool]"
"dict[Any, Any]" is incompatible with protocol "_MutableDictLike[str, bool]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_MutableDictLike, default: Any | None = None, /) -> (_VT_co@_MutableDictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L129
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_MutableDictLike[str, Command]"
"dict[Any, Any]" is incompatible with protocol "_MutableDictLike[str, Command]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_MutableDictLike, default: Any | None = None, /) -> (_VT_co@_MutableDictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L116
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_MutableDictLike[str, _DictLike[str, tuple[str, str]]]"
"dict[Any, Any]" is incompatible with protocol "_MutableDictLike[str, _DictLike[str, tuple[str, str]]]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_MutableDictLike, default: Any | None = None, /) -> (_VT_co@_MutableDictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/setuptools/setuptools/__init__.pyi#L112
Expression of type "dict[Any, Any]" cannot be assigned to parameter of type "_MutableDictLike[str, type[Command]]"
"dict[Any, Any]" is incompatible with protocol "_MutableDictLike[str, type[Command]]"
"get" is an incompatible type
No overloaded function matches type "(key: _KT@_MutableDictLike, default: Any | None = None, /) -> (_VT_co@_MutableDictLike | None)" (reportArgumentType)
|
|
pyright: Run test cases (Windows, 3.10)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.14)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.14)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.12)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.14)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.11)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.11)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.12)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.12)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.9)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.10)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.10)
Exit code 1
|
|
mypy: Check stubs (darwin, 3.9)
Process completed with exit code 1.
|
|
mypy: Check stubs (darwin, 3.10)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.9)
Process completed with exit code 1.
|
|
mypy: Check stubs (darwin, 3.12)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.13)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.9)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.11)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.11)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.13)
Process completed with exit code 1.
|
|
mypy: Check stubs (darwin, 3.14)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.12)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.10)
Process completed with exit code 1.
|
|
mypy: Check stubs (darwin, 3.13)
Process completed with exit code 1.
|
|
mypy: Check stubs (darwin, 3.11)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.12)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.10)
Process completed with exit code 1.
|
|
mypy: Check stubs (win32, 3.14)
Process completed with exit code 1.
|
|
mypy: Check stubs (linux, 3.14)
Process completed with exit code 1.
|
|
mypy: Run test cases
Process completed with exit code 1.
|