Skip to content

fix collections.abc.Callable and typing.Callable #35381

fix collections.abc.Callable and typing.Callable

fix collections.abc.Callable and typing.Callable #35381

Triggered via pull request March 19, 2026 04:52
Status Failure
Total duration 6m 7s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
13s
Check typeshed structure
mypy: Run test cases
5m 48s
mypy: Run test cases
stub_uploader tests
5m 1s
stub_uploader tests
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 12 warnings
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L15
Return type is unknown (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L13
TypeVar "T_co" appears only once in generic function signature   Use "object" instead (reportInvalidTypeVarUse)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L12
Argument type is unknown   Argument corresponds to parameter "wrapped" in function "wraps" (reportUnknownArgumentType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Expected class but received "_Alias" (reportGeneralTypeIssues)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Expected class but received "_Alias" (reportGeneralTypeIssues)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Type of parameter "func" is unknown (reportUnknownParameterType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_functools.py#L11
Return type is unknown (reportUnknownParameterType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_dataclasses.py#L101
"assert_type" mismatch: expected "type[_D]" but received "Unknown" (reportAssertTypeFailure)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_dataclasses.py#L100
Type of "custom_dc_2" is unknown (reportUnknownVariableType)
pyright: Run test cases (Linux, 3.13): stdlib/@tests/test_cases/check_collections_abc.py#L10
"assert_type" mismatch: expected "Callable[(), None]" but received "() -> None" (reportAssertTypeFailure)
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
mypy: Run test cases
Process completed with exit code 1.
pyright: Run test cases (Darwin, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Linux, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Darwin, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Windows, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Linux, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Windows, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Windows, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Windows, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Darwin, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Linux, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Linux, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pyright: Run test cases (Darwin, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/