Skip to content

New transform: Push indexing to only materialized nodes. #3758

New transform: Push indexing to only materialized nodes.

New transform: Push indexing to only materialized nodes. #3758

Triggered via pull request February 28, 2026 22:17
Status Failure
Total duration 18m 57s
Artifacts

ci.yml

on: pull_request
Matrix: downstream_tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 56 warnings
Typos
Process completed with exit code 2.
Ruff
Process completed with exit code 1.
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L116
Type "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | intp | builtins.bool" is not assignable to return type "Array"   Type "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | intp | builtins.bool" is not assignable to type "Array"     "int" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L116
Operator "&" not supported for types "ArrayOrScalar" and "ArrayOrScalar"   Operator "&" not supported for types "int" and "float" when expected type is "Array"   Operator "&" not supported for types "int" and "complex" when expected type is "Array"   Operator "&" not supported for types "int" and "inexact[Any, float | complex]" when expected type is "Array"   Operator "&" not supported for types "integer[Any]" and "float" when expected type is "Array"   Operator "&" not supported for types "integer[Any]" and "complex" when expected type is "Array"   Operator "&" not supported for types "integer[Any]" and "inexact[Any, float | complex]" when expected type is "Array"   Operator "&" not supported for types "float" and "int" when expected type is "Array"   Operator "&" not supported for types "float" and "integer[Any]" when expected type is "Array" ... (reportOperatorIssue)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L114
Type "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | intp | builtins.bool" is not assignable to return type "Array"   Type "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | intp | builtins.bool" is not assignable to type "Array"     "int" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L114
Operator "|" not supported for types "ArrayOrScalar" and "ArrayOrScalar"   Operator "|" not supported for types "int" and "float" when expected type is "Array"   Operator "|" not supported for types "int" and "complex" when expected type is "Array"   Operator "|" not supported for types "int" and "inexact[Any, float | complex]" when expected type is "Array"   Operator "|" not supported for types "integer[Any]" and "float" when expected type is "Array"   Operator "|" not supported for types "integer[Any]" and "complex" when expected type is "Array"   Operator "|" not supported for types "integer[Any]" and "inexact[Any, float | complex]" when expected type is "Array"   Operator "|" not supported for types "float" and "int" when expected type is "Array"   Operator "|" not supported for types "float" and "integer[Any]" when expected type is "Array" ... (reportOperatorIssue)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L112
Type "Array | bool" is not assignable to return type "Array"   Type "Array | bool" is not assignable to type "Array"     "bool" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L110
Type "Array | bool" is not assignable to return type "Array"   Type "Array | bool" is not assignable to type "Array"     "bool" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L108
Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | bool_ | integer[Any] | inexact[Any, float | complex]" is not assignable to return type "Array"   Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | bool_ | integer[Any] | inexact[Any, float | complex]" is not assignable to type "Array"     "complex" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L106
Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | integer[Any] | inexact[Any, float | complex] | Unknown" is not assignable to return type "Array"   Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | integer[Any] | inexact[Any, float | complex] | Unknown" is not assignable to type "Array"     "complex" is not assignable to "Array" (reportReturnType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L106
Operator "-" not supported for types "ArrayOrScalar" and "ArrayOrScalar"   Operator "-" not supported for types "bool_" and "bool_" when expected type is "Array" (reportOperatorIssue)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L104
Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | bool_ | integer[Any] | inexact[Any, float | complex]" is not assignable to return type "Array"   Type "Array | int | Incomplete | float | complex | int_ | float64 | complex128 | bool_ | integer[Any] | inexact[Any, float | complex]" is not assignable to type "Array"     "complex" is not assignable to "Array" (reportReturnType)
Typos: pytato/transform/push_index_to_materialized_nodes.py#L647
"innner" should be "inner".
Typos: pytato/transform/push_index_to_materialized_nodes.py#L631
"innner" should be "inner".
Typos: pytato/transform/push_index_to_materialized_nodes.py#L613
"innner" should be "inner".
Typos: pytato/transform/push_index_to_materialized_nodes.py#L475
"innner" should be "inner".
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Tests for downstream project mirgecom
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L188
Type of "shape" is partially unknown   Type of "shape" is "Unknown | tuple[()] | tuple[int | integer[Any] | Array, ...]" (reportUnknownMemberType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L187
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "all"   Argument type is "Generator[Unknown | bool, None, None]" (reportUnknownArgumentType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L140
Code is unreachable (reportUnreachable)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L139
Pattern will never be matched for subject type "Never" (reportUnnecessaryComparison)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L126
Return type, "Array | int | integer[Any] | float | Unknown | signedinteger[_32Bit | _64Bit] | float64 | signedinteger[_8Bit]", is partially unknown (reportUnknownVariableType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L122
Return type, "Array | int | integer[Any] | float | Unknown | signedinteger[_32Bit | _64Bit] | float64 | signedinteger[_8Bit]", is partially unknown (reportUnknownVariableType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L118
Return type, "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | signedinteger[_32Bit | _64Bit] | builtins.bool", is partially unknown (reportUnknownVariableType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L116
Return type, "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | signedinteger[_32Bit | _64Bit] | builtins.bool", is partially unknown (reportUnknownVariableType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L114
Return type, "Array | int | integer[Any] | Unknown | numpy.bool[builtins.bool] | signedinteger[_32Bit | _64Bit] | builtins.bool", is partially unknown (reportUnknownVariableType)
basedpyright: pytato/transform/push_index_to_materialized_nodes.py#L106
Return type, "Array | int | Any | float | complex | signedinteger[_32Bit | _64Bit] | float64 | complex128 | integer[Any] | inexact[Any, float | complex] | Unknown", is partially unknown (reportUnknownVariableType)
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project arraycontext: arraycontext/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Conda Pytest: pytato/target/loopy/__init__.py#L251
TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project meshmode: meshmode/test/test_array.py#L59
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project meshmode: meshmode/test/test_array.py#L59
'bcast_obj_array' is deprecated and will be unsupported from 2025. Use 'bcasts_across_obj_array', with equivalent meaning.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/test/test_reductions.py#L172
Broadcasting array context array types across <class 'test_reductions.MyContainer'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/test/test_reductions.py#L172
Broadcasting array context array types across <class 'test_reductions.MyContainer'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/dataclass.py#L82
Encountered 'numpy.ndarray' in a dataclass_array_container. This is deprecated and will stop working in 2026. If you meant an object array, use pytools.obj_array.ObjectArray. For other uses, file an issue to discuss.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
Broadcasting array context array types across <class 'meshmode.dof_array.DOFArray'> has been implicitly enabled. As of 2026, this will no longer work. Use arraycontext.Bcast* object wrappers for roughly equivalent functionality. See the discussion in https://github.com/inducer/arraycontext/pull/190. To opt out now (and avoid this warning), pass _bcast_actx_array_type=False.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.14/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.