Skip to content

Obj array renames #1907

Obj array renames

Obj array renames #1907

Triggered via pull request July 16, 2025 17:52
Status Failure
Total duration 11m 42s
Artifacts

ci.yml

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

Annotations

10 errors and 53 warnings
basedpyright: arraycontext/fake_numpy.py#L495
Operator "*" not supported for types "ArrayOrScalar" and "ArrayOrScalar"   Operator "*" not supported for types "Array" and "bool_" when expected type is "Array | Unknown | int | Any | float | complex | int_ | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex]"   Operator "*" not supported for types "bool_" and "Array" when expected type is "Array | Unknown | int | Any | float | complex | int_ | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex]" (reportOperatorIssue)
basedpyright: arraycontext/fake_numpy.py#L495
Argument of type "Array | Unknown | int | Any | float | complex | int_ | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex]" cannot be assigned to parameter "a" of type "ArrayOrContainerOrScalarT@sqrt" in function "sqrt"   Type "Array | Unknown | int | Any | float | complex | int_ | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex]" is not assignable to type "ArrayOrContainerOrScalar"     Type "Array | Unknown | int | Any | float | complex | int_ | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex]" is not assignable to type "ArrayOrContainerOrScalar"       Type "numpy.bool[builtins.bool]" is not assignable to type "ArrayOrContainerOrScalar"         "numpy.bool[builtins.bool]" is incompatible with protocol "Array"           "__len__" is not present           "__getitem__" is not present           "__neg__" is not present         "numpy.bool[builtins.bool]" is not assignable to "ObjectArray[tuple[int, ...], ArrayOrContainerOrScalar]" ... (reportArgumentType)
basedpyright: arraycontext/fake_numpy.py#L300
Argument of type "tuple[int, ...]" cannot be assigned to parameter "axes" of type "tuple[()] | None" in function "transpose"   Type "tuple[int, ...]" is not assignable to type "tuple[()] | None"     "tuple[int, ...]" is not assignable to "tuple[()]"       Tuple size mismatch; expected 0 but received indeterminate     "tuple[int, ...]" is not assignable to "None" (reportArgumentType)
basedpyright: arraycontext/fake_numpy.py#L288
Type "Unknown | ndarray[tuple[Literal[1], ...], dtype[Unknown]] | Array" is not assignable to return type "Array"   Type "Unknown | ndarray[tuple[Literal[1], ...], dtype[Unknown]] | Array" is not assignable to type "Array"     "ndarray[tuple[Literal[1], ...], dtype[Unknown]]" is incompatible with protocol "Array"       "Array" is not assignable to "ndarray[tuple[Literal[1], ...], dtype[Unknown]]"       "Array" is not assignable to "ndarray[tuple[Literal[1], ...], dtype[Unknown]]"       "Array" is not assignable to "ndarray[tuple[Literal[1], ...], dtype[Unknown]]"       "__getitem__" is an incompatible type         No overloaded function matches type "(index: Any) -> Array"       Could not bind method "__add__" because "ndarray[tuple[Literal[1], ...], dtype[Unknown]]" is not assignable to parameter "self" ... (reportReturnType)
basedpyright: arraycontext/fake_numpy.py#L153
Argument of type "Array | numpy.bool[builtins.bool]" cannot be assigned to parameter "ary" of type "Array" in function "_full_like_array"   Type "Array | numpy.bool[builtins.bool]" is not assignable to type "Array"     "numpy.bool[builtins.bool]" is incompatible with protocol "Array"       "__len__" is not present       "__getitem__" is not present       "__neg__" is not present         "Array" is not assignable to "numpy.bool[builtins.bool]"         "Array" is not assignable to "numpy.bool[builtins.bool]"         "Array" is not assignable to "numpy.bool[builtins.bool]" ... (reportArgumentType)
basedpyright: arraycontext/container/traversal.py#L671
Overloaded implementation is not consistent with signature of overload 1   Function return type "ArrayOrScalar" is incompatible with type "ArrayOrContainerOrScalar"     Type "ArrayOrScalar" is not assignable to type "ArrayOrContainerOrScalar"       Type "bool_" is not assignable to type "ArrayOrContainerOrScalar"         "numpy.bool[builtins.bool]" is incompatible with protocol "Array"           "__len__" is not present           "__getitem__" is not present           "__neg__" is not present         "numpy.bool[builtins.bool]" is not assignable to "ObjectArray[tuple[int, ...], ArrayOrContainerOrScalar]" (reportInconsistentOverload)
basedpyright: arraycontext/container/traversal.py#L657
Overload 1 for "rec_map_reduce_array_container" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
basedpyright: arraycontext/container/traversal.py#L314
Argument of type "(ary: ArrayOrContainerOrScalarT@wrapper) -> ArrayOrContainerOrScalarT@wrapper" cannot be assigned to parameter "f" of type "(ArrayOrScalar) -> ArrayOrScalar" in function "rec_map_container"   Type "(ary: ArrayOrContainerOrScalarT@wrapper) -> ArrayOrContainerOrScalarT@wrapper" is not assignable to type "(ArrayOrScalar) -> ArrayOrScalar"     Parameter 1: type "ArrayOrScalar" is incompatible with type "ArrayOrContainerOrScalarT@wrapper"       Type "ArrayOrScalar" is not assignable to type "ArrayOrContainerOrScalar"         Type "ArrayOrScalar" is not assignable to type "ArrayOrContainerOrScalar"           Type "bool_" is not assignable to type "ArrayOrContainerOrScalar"     Function return type "ArrayOrContainerOrScalarT@wrapper" is incompatible with type "ArrayOrScalar"       Type "Array* | ObjectArrayND[ArrayOrContainerOrScalar] | _UserDefinedArrayContainer* | int* | integer[Any]* | float* | complex* | inexact[Any, float | complex]*" is not assignable to type "ArrayOrScalar"         Type "_UserDefinedArrayContainer*" is not assignable to type "ArrayOrScalar" ... (reportArgumentType)
basedpyright: arraycontext/container/traversal.py#L314
No overloads for "rec_map_container" match the provided arguments (reportCallIssue)
basedpyright: arraycontext/container/traversal.py#L156
Type "ArrayOrScalar" is not assignable to return type "ArrayOrContainerOrScalar"   Type "ArrayOrScalar" is not assignable to type "ArrayOrContainerOrScalar"     Type "bool_" is not assignable to type "ArrayOrContainerOrScalar"       "numpy.bool[builtins.bool]" is incompatible with protocol "Array"         "__len__" is not present         "__getitem__" is not present         "__neg__" is not present           "Array" is not assignable to "numpy.bool[builtins.bool]"           "Array" is not assignable to "numpy.bool[builtins.bool]" ... (reportReturnType)
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.
Tests for downstream project mirgecom_examples
No point in testing mirgecom at the moment, see https://github.com/illinois-ceesd/mirgecom/pull/898. Test not performed.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
basedpyright: arraycontext/fake_numpy.py#L547
Return type is unknown (reportUnknownVariableType)
basedpyright: arraycontext/fake_numpy.py#L529
Return type, "Unknown | float | bool | Array | Any | complex | float64", is partially unknown (reportUnknownVariableType)
basedpyright: arraycontext/fake_numpy.py#L495
Argument type is partially unknown   Argument corresponds to parameter "iterable" in function "sum"   Argument type is "Generator[Array | Unknown | int | Any | float | complex | signedinteger[_32Bit | _64Bit] | float64 | complex128 | numpy.bool[builtins.bool] | integer[Any] | inexact[Any, float | complex], None, None]" (reportUnknownArgumentType)
basedpyright: arraycontext/fake_numpy.py#L495
Return type is unknown (reportUnknownVariableType)
basedpyright: arraycontext/fake_numpy.py#L486
Return type, "Unknown | ArrayOrContainerOrScalarT@maximum | ArrayOrContainerOrScalarT@minimum | Array | Any | complex | float64", is partially unknown (reportUnknownParameterType)
basedpyright: arraycontext/fake_numpy.py#L300
Return type, "Unknown | Array", is partially unknown (reportUnknownVariableType)
basedpyright: arraycontext/fake_numpy.py#L300
Type of "transpose" is partially unknown   Type of "transpose" is "((axes: tuple[int, ...]) -> Array) | ((axes: tuple[()] | None = ..., /) -> Unknown)" (reportUnknownMemberType)
basedpyright: arraycontext/fake_numpy.py#L288
Return type, "Unknown | ndarray[tuple[Literal[1], ...], dtype[Unknown]] | Array", is partially unknown (reportUnknownVariableType)
basedpyright: arraycontext/fake_numpy.py#L288
Type of "reshape" is partially unknown   Type of "reshape" is "Overload[(*shape: int, order: Literal['C', 'F'] = "C") -> Array, (shape: tuple[int, ...], /, *, order: Literal['C', 'F'] = "C") -> Array] | Overload[(shape: tuple[()] | list[Unknown], /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> Unknown, (shape: _1NShapeT@reshape, /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[_1NShapeT@reshape, dtype[Unknown]], (shape: Sequence[SupportsIndex], /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> (Unknown | ndarray[tuple[Literal[1], ...], dtype[Unknown]]), (size1: SupportsIndex, /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[tuple[Literal[1]], dtype[Unknown]], (size1: SupportsIndex, size2: SupportsIndex, /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[tuple[Literal[1], Literal[1]], dtype[Unknown]], (size1: SupportsIndex, size2: SupportsIndex, size3: SupportsIndex, /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[tuple[Literal[1], Literal[1], Literal[1]], dtype[Unknown]], (size1: SupportsIndex, size2: SupportsIndex, size3: SupportsIndex, size4: SupportsIndex, /, *, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[tuple[Literal[1], Literal[1], Literal[1], Literal[1]], dtype[Unknown]], (size1: SupportsIndex, size2: SupportsIndex, size3: SupportsIndex, size4: SupportsIndex, size5: SupportsIndex, /, *sizes6_: SupportsIndex, order: Literal['A', 'C', 'F'] | None = "C", copy: builtins.bool | None = None) -> ndarray[tuple[Literal[1], Literal[1], Literal[1], Literal[1], Literal[1], *tuple[Literal[1], ...]], dtype[Unknown]]]" (reportUnknownMemberType)
basedpyright: arraycontext/container/traversal.py#L314
Return type is unknown (reportUnknownVariableType)
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 Intel: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.
Pytest Conda Py3 POCL: 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.13/site-packages/meshmode/dof_array.py#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/test/test_reductions.py#L167
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.::warning file=/home/runner/work/arraycontext/arraycontext/grudge/test/test_reductions.py,line=167::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.13/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.::warning file=/home/runner/work/arraycontext/arraycontext/grudge/.conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/dataclass.py,line=82::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.13/site-packages/meshmode/dof_array.py#L81
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.::warning file=/home/runner/work/arraycontext/arraycontext/grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py,line=81::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.13/site-packages/meshmode/dof_array.py#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project grudge: grudge/test/test_reductions.py#L167
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.13/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.13/site-packages/meshmode/dof_array.py#L81
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.13/site-packages/meshmode/dof_array.py#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/meshmode/dof_array.py#L81
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/.conda-root/envs/testing/lib/python3.13/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#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
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#L81
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#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project meshmode: meshmode/.conda-root/envs/testing/lib/python3.13/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#L81
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#L81
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.