Skip to content

Update typing aliases to use collections.abc instead #759

Update typing aliases to use collections.abc instead

Update typing aliases to use collections.abc instead #759

Triggered via pull request May 2, 2026 02:20
Status Failure
Total duration 6m 11s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 7 warnings
mypy: qualtran/_infra/data_types_test.py#L632
Name "List" is not defined [name-defined]
mypy: qualtran/cirq_interop/_cirq_to_bloq_test.py#L195
Name "Dict" is not defined [name-defined]
mypy: qualtran/bloqs/mcmt/multi_control_pauli.py#L244
Name "Tuple" is not defined [name-defined]
mypy: qualtran/bloqs/mcmt/multi_control_pauli.py#L197
Name "Tuple" is not defined [name-defined]
mypy: qualtran/bloqs/mcmt/multi_control_pauli.py#L167
Name "Tuple" is not defined [name-defined]
mypy: qualtran/cirq_interop/_bloq_to_cirq.py#L103
Name "Dict" is not defined [name-defined]
mypy: qualtran/cirq_interop/_bloq_to_cirq.py#L103
Name "Tuple" is not defined [name-defined]
mypy: qualtran/cirq_interop/_cirq_to_bloq.py#L594
"Soquet" has no attribute "soquet" [attr-defined]
mypy: qualtran/cirq_interop/_cirq_to_bloq.py#L342
Type argument "Soquet" of "NDArray" must be a subtype of "generic[Any]" [type-var]
mypy
Type argument "Soquet" of "NDArray" must be a subtype of "generic[Any]" [type-var]
dev-tools
Process completed with exit code 1.
autogenerate-notebooks
Process completed with exit code 1.
pylint
Process completed with exit code 2.
pylint: dev_tools/qualtran_dev_tools/parse_docstrings.py#L62
E0602: Undefined variable 'List' (undefined-variable)
pylint: qualtran/bloqs/mcmt/multi_control_pauli.py#L244
E0602: Undefined variable 'Tuple' (undefined-variable)
pylint: qualtran/bloqs/mcmt/multi_control_pauli.py#L197
E0602: Undefined variable 'Tuple' (undefined-variable)
pylint: qualtran/bloqs/mcmt/multi_control_pauli.py#L167
E0602: Undefined variable 'Tuple' (undefined-variable)
pylint: qualtran/_infra/data_types_test.py#L632
E0602: Undefined variable 'List' (undefined-variable)
pylint: qualtran/cirq_interop/_bloq_to_cirq.py#L103
E0602: Undefined variable 'Dict' (undefined-variable)
pylint: qualtran/cirq_interop/_bloq_to_cirq.py#L103
E0602: Undefined variable 'Tuple' (undefined-variable)
pylint: qualtran/cirq_interop/_cirq_to_bloq_test.py#L195
E0602: Undefined variable 'Dict' (undefined-variable)
pytest
Process completed with exit code 1.
notebooks
Process completed with exit code 1.
format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
mypy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
dev-tools
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38, ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
autogenerate-notebooks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38, ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
pylint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
pytest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38, ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
notebooks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38, ts-graphviz/setup-graphviz@c001ccfb5aff62e28bda6a6c39b59a7e061be5b9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/