WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Transition to arraycontext #759

Transition to arraycontext

Transition to arraycontext #759

Triggered via pull request October 15, 2025 17:23
Status Failure
Total duration 2m 34s
Artifacts

ci.yml

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

Annotations

25 errors and 20 warnings
Python 3 Examples
Process completed with exit code 1.
Conda Python 3
Process completed with exit code 1.
Documentation
Process completed with exit code 2.
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L200
test_p2p_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-0.6-True] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L200
test_p2p_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-0.6-False] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L200
test_p2p_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-1.0-False] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L104
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-0.6] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L104
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-0.6] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L200
test_p2p_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-0.6-True] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L104
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-1.0] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_matrixgen.py#L200
test_p2p_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-1.0-True] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)::error file=sumpy/test/test/test_matrixgen.py,line=104::test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-1.0] ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_codegen.py#L63
test_line_taylor_coeff_growth ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
Tests for downstream project sumpy: sumpy/test/test/test_codegen.py#L39
test_symbolic_assignment_name_uniqueness ImportError: cannot import name 'is_integer' from 'loopy.tools' (/home/runner/work/boxtree/boxtree/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/tools.py)
basedpyright: boxtree/cost.py#L394
"from_numpy" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright: boxtree/cost.py#L394
"freeze" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright: boxtree/array_context.py#L193
Argument of type "(obj: BuiltList) -> tuple[tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None]]" cannot be assigned to parameter of type "(...) -> SerializedContainer"   Type "(obj: BuiltList) -> tuple[tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None]]" is not assignable to type "(...) -> SerializedContainer"     Function return type "tuple[tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None]]" is incompatible with type "SerializedContainer"       "tuple[tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None], tuple[str, Array | None]]" is not assignable to "Sequence[tuple[SerializationKey, ArrayOrContainerOrScalar]]"         Type parameter "_T_co@Sequence" is covariant, but "tuple[str, Array | None]" is not a subtype of "tuple[SerializationKey, ArrayOrContainerOrScalar]"           "tuple[str, Array | None]" is not assignable to "tuple[SerializationKey, ArrayOrContainerOrScalar]" (reportArgumentType)
basedpyright: boxtree/array_context.py#L165
"_BaseGenericAlias" is unknown import symbol (reportAttributeAccessIssue)
basedpyright: boxtree/array_context.py#L82
Argument of type "(ary: Unknown) -> (Unknown | generic[Any] | complex | str | bytes | memoryview[int] | Any)" cannot be assigned to parameter "f" of type "(ArrayOrContainerOrScalar) -> ArrayOrContainerOrScalar" in function "rec_map_array_container"   Type "(ary: Unknown) -> (Unknown | generic[Any] | complex | str | bytes | memoryview[int] | Any)" is not assignable to type "(ArrayOrContainerOrScalar) -> ArrayOrContainerOrScalar"     Function return type "Unknown | generic[Any] | complex | str | bytes | memoryview[int] | Any" is incompatible with type "ArrayOrContainerOrScalar"       Type "Unknown | generic[Any] | complex | str | bytes | memoryview[int] | Any" is not assignable to type "ArrayOrContainerOrScalar"         Type "bytes" is not assignable to type "ArrayOrContainerOrScalar"           "bytes" is incompatible with protocol "Array"           "bytes" is not assignable to "ObjectArray[tuple[int, ...], ArrayOrContainerOrScalar]"           "bytes" is incompatible with protocol "_UserDefinedArrayContainer"           "bytes" is not assignable to "int" ... (reportArgumentType)
basedpyright: boxtree/array_context.py#L82
No overloads for "rec_map_array_container" match the provided arguments (reportCallIssue)
basedpyright: boxtree/area_query.py#L1041
Cannot access attribute "events" for class "Array"   Attribute "events" is unknown (reportAttributeAccessIssue)
basedpyright: boxtree/area_query.py#L1038
Cannot access attribute "finish" for class "Array"   Attribute "finish" is unknown (reportAttributeAccessIssue)
basedpyright: boxtree/area_query.py#L1020
Cannot access attribute "events" for class "Array"   Attribute "events" is unknown (reportAttributeAccessIssue)
basedpyright: boxtree/area_query.py#L1016
Argument of type "float32" cannot be assigned to parameter "dtype" of type "dtype[Any]" in function "zeros"   Type "float32" is not assignable to type "dtype[Any]" (reportArgumentType)
Tests for downstream project pytential
The operation was canceled.
Tests for downstream project pytential
The strategy configuration was canceled because "downstream_tests.sumpy" failed
Conda Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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 Python 3: .conda-root/envs/testing/lib/python3.14/site-packages/pytools/__init__.py#L1178
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.
Pylint
modifying pylint run because we're on Python 3.13
basedpyright: boxtree/area_query.py#L745
Type annotation is missing for parameter "ball_centers" (reportMissingParameterType)
basedpyright: boxtree/area_query.py#L745
Type of parameter "ball_centers" is unknown (reportUnknownParameterType)
basedpyright: boxtree/area_query.py#L744
Type of parameter "tree" is unknown (reportUnknownParameterType)
basedpyright: boxtree/area_query.py#L667
Type annotation for attribute `_setup_actx` is required because this class is not decorated with `@final` (reportUnannotatedClassAttribute)
basedpyright: boxtree/__init__.py#L34
Type of "uniformly_refine_tree_of_boxes" is partially unknown   Type of "uniformly_refine_tree_of_boxes" is "(tob: Unknown) -> Unknown" (reportUnknownVariableType)
basedpyright: boxtree/__init__.py#L33
Type of "refine_tree_of_boxes" is partially unknown   Type of "refine_tree_of_boxes" is "(tob: Unknown, refine_flags: ndarray[tuple[Any, ...], dtype[Any]]) -> Unknown" (reportUnknownVariableType)
basedpyright: boxtree/__init__.py#L32
Type of "refine_and_coarsen_tree_of_boxes" is partially unknown   Type of "refine_and_coarsen_tree_of_boxes" is "(tob: Unknown, refine_flags: ndarray[tuple[Any, ...], dtype[Any]] | None = None, coarsen_flags: ndarray[tuple[Any, ...], dtype[Any]] | None = None, *, error_on_ignored_flags: bool = True) -> Unknown" (reportUnknownVariableType)
basedpyright: boxtree/__init__.py#L31
Type of "make_tree_of_boxes_root" is partially unknown   Type of "make_tree_of_boxes_root" is "(bbox: tuple[ndarray[tuple[Any, ...], dtype[Any]], ndarray[tuple[Any, ...], dtype[Any]]], *, box_id_dtype: Any = None, box_level_dtype: Any = None, coord_dtype: Any = None) -> Unknown" (reportUnknownVariableType)
basedpyright: boxtree/__init__.py#L30
Type of "make_meshmode_mesh_from_leaves" is partially unknown   Type of "make_meshmode_mesh_from_leaves" is "(tob: Unknown) -> tuple[Mesh, ndarray[tuple[Any, ...], dtype[Any]]]" (reportUnknownVariableType)
basedpyright: boxtree/__init__.py#L29
Type of "coarsen_tree_of_boxes" is partially unknown   Type of "coarsen_tree_of_boxes" is "(tob: Unknown, coarsen_flags: ndarray[tuple[Any, ...], dtype[Any]], error_on_ignored_flags: bool = True) -> Unknown" (reportUnknownVariableType)