Skip to content

Improve operator.itemgetter.__call__ generic following mypy 1.11 fix #29208

Improve operator.itemgetter.__call__ generic following mypy 1.11 fix

Improve operator.itemgetter.__call__ generic following mypy 1.11 fix #29208

Triggered via pull request February 10, 2025 21:34
Status Cancelled
Total duration 1m 56s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
7s
Check typeshed structure
Run pytype against the stubs
1m 24s
Run pytype against the stubs
Run mypy on the test cases
1m 27s
Run mypy on the test cases
Run the stub_uploader tests
1m 28s
Run the stub_uploader tests
Matrix: Run mypy against the stubs
Matrix: Test typeshed with pyright
Fit to window
Zoom out
Zoom in

Annotations

55 errors and 2 warnings
Test typeshed with pyright (Windows, 3.12)
Exit code 1
Test typeshed with pyright (Windows, 3.13)
Exit code 1
Test typeshed with pyright (Darwin, 3.10)
Exit code 1
Test typeshed with pyright (Darwin, 3.11)
Exit code 1
Test typeshed with pyright (Windows, 3.11)
Exit code 1
Test typeshed with pyright (Windows, 3.10)
Exit code 1
Test typeshed with pyright (Windows, 3.9)
Exit code 1
Test typeshed with pyright (Linux, 3.13)
Exit code 1
Test typeshed with pyright (Darwin, 3.12)
Exit code 1
Test typeshed with pyright (Darwin, 3.9)
Exit code 1
Test typeshed with pyright (Linux, 3.12): stdlib/@tests/test_cases/itertools/check_itertools_recipes.py#L288
Return type, "map[Unknown]", is partially unknown (reportUnknownVariableType)
Test typeshed with pyright (Linux, 3.12): stdlib/@tests/test_cases/itertools/check_itertools_recipes.py#L288
Argument of type "Overload[(i: SupportsNext[_T@next], /) -> _T@next, (i: SupportsNext[_T@next], default: _VT@next, /) -> (_T@next | _VT@next)]" cannot be assigned to parameter "func" of type "(_T1@__new__) -> _S@map" in function "__new__"   No overloaded function matches type "(_T@unique_justseen | Iterator[_T@unique_justseen]) -> _S@map" (reportArgumentType)
Test typeshed with pyright (Linux, 3.12): stdlib/@tests/test_cases/itertools/check_itertools_recipes.py#L288
Argument of type "itemgetter[int]" cannot be assigned to parameter "func" of type "(_T1@__new__) -> _S@map" in function "__new__"   Type "itemgetter[int]" is not assignable to type "(tuple[_T@unique_justseen, Iterator[_T@unique_justseen]] | tuple[bool, Iterator[_T@unique_justseen]]) -> (_T@unique_justseen | Iterator[_T@unique_justseen])"     Parameter 1: type "tuple[_T@unique_justseen, Iterator[_T@unique_justseen]] | tuple[bool, Iterator[_T@unique_justseen]]" is incompatible with type "SupportsGetItem[Any, _T@__call__]"       Type "tuple[_T@unique_justseen, Iterator[_T@unique_justseen]] | tuple[bool, Iterator[_T@unique_justseen]]" is not assignable to type "SupportsGetItem[Any, _T@__call__]"         "tuple[bool, Iterator[_T@unique_justseen]]" is incompatible with protocol "SupportsGetItem[Any, _T@__call__]"           Type parameter "_VT_co@SupportsGetItem" is covariant, but "bool | Iterator[_T@unique_justseen]" is not a subtype of "_T@__call__" (reportArgumentType)
Test typeshed with pyright (Linux, 3.12)
3 errors
Test typeshed with pyright (Linux, 3.9)
Exit code 1
Test typeshed with pyright (Linux, 3.11)
Exit code 1
Test typeshed with pyright (Darwin, 3.13)
Exit code 1
Test typeshed with pyright (Linux, 3.10)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Test typeshed with pyright (Linux, 3.10)
The operation was canceled.
Run mypy against the stubs (darwin, 3.10)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (darwin, 3.10)
The operation was canceled.
Run mypy against the stubs (darwin, 3.12)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (darwin, 3.12)
The operation was canceled.
Run mypy against the stubs (linux, 3.9)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (linux, 3.9)
The operation was canceled.
Run mypy against the stubs (win32, 3.13)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (win32, 3.13)
The operation was canceled.
Run mypy against the stubs (linux, 3.13)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (linux, 3.13)
The operation was canceled.
Run mypy against the stubs (linux, 3.10)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (linux, 3.10)
The operation was canceled.
Run mypy against the stubs (win32, 3.10)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (win32, 3.10)
The operation was canceled.
Run mypy against the stubs (darwin, 3.11)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (darwin, 3.11)
The operation was canceled.
Run mypy against the stubs (win32, 3.9)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (win32, 3.9)
The operation was canceled.
Run mypy on the test cases
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy on the test cases
The operation was canceled.
Run mypy against the stubs (win32, 3.11)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (win32, 3.11)
The operation was canceled.
Run mypy against the stubs (win32, 3.12)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (win32, 3.12)
The operation was canceled.
Run mypy against the stubs (linux, 3.12)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (linux, 3.12)
The operation was canceled.
Run mypy against the stubs (linux, 3.11)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (linux, 3.11)
The operation was canceled.
Run mypy against the stubs (darwin, 3.9)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (darwin, 3.9)
The operation was canceled.
Run pytype against the stubs
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run pytype against the stubs
The operation was canceled.
Run mypy against the stubs (darwin, 3.13)
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run mypy against the stubs (darwin, 3.13)
The operation was canceled.
Run the stub_uploader tests
Canceling since a higher priority waiting request for 'Test-Improve-operator.itemgetter-generic-following-mypy-1.11-fix' exists
Run the stub_uploader tests
The operation was canceled.
Test typeshed with pyright (Windows, 3.9)
Cache not found for keys: setup-uv-1-x86_64-unknown-linux-gnu-3.12.9-4103d174f93d60f41a4a18c05b4dce431c1517c3dee15bae3c3431a8b8f0570b
Run the stub_uploader tests
Cache not found for keys: setup-uv-1-x86_64-unknown-linux-gnu-3.12.8-420ce1c548ef1376f8515e935e6ece9ddd7688a24b510516b2a501b74e88b3e4