Skip to content

Towards array context (2025 merge) #1857

Towards array context (2025 merge)

Towards array context (2025 merge) #1857

Triggered via pull request December 9, 2025 22:40
Status Failure
Total duration 13m 54s
Artifacts

ci.yml

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

Annotations

27 errors and 50 warnings
Tests for downstream project pytential
Process completed with exit code 1.
Tests for downstream project pytential: pytential/test/test/test_muller.py#L44
test_muller[true_roots2] ModuleNotFoundError: No module named 'boxtree.timing'
Tests for downstream project pytential: pytential/test/test/test_muller.py#L44
test_muller[true_roots1] ModuleNotFoundError: No module named 'boxtree.timing'
Tests for downstream project pytential: pytential/test/test/test_muller.py#L44
test_muller[true_roots0] ModuleNotFoundError: No module named 'boxtree.timing'
basedpyright: sumpy/e2e.py#L136
Method "get_optimized_kernel" overrides class "KernelCacheMixin" in an incompatible manner   Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
basedpyright: sumpy/distributed.py#L111
Method "communicate_mpoles" overrides class "ExpansionWranglerInterface" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "PyOpenCLArrayContext", override parameter is type "PyOpenCLArrayContext"   Return type mismatch: base method returns type "None", override returns type "dict[Unknown, Unknown] | None"     "boxtree.array_context.PyOpenCLArrayContext" is not assignable to "sumpy.array_context.PyOpenCLArrayContext"     Type "dict[Unknown, Unknown] | None" is not assignable to type "None"       "dict[Unknown, Unknown]" is not assignable to "None" (reportIncompatibleMethodOverride)
basedpyright: sumpy/distributed.py#L70
Method "gather_potential_results" overrides class "ExpansionWranglerInterface" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "PyOpenCLArrayContext", override parameter is type "PyOpenCLArrayContext"     "boxtree.array_context.PyOpenCLArrayContext" is not assignable to "sumpy.array_context.PyOpenCLArrayContext" (reportIncompatibleMethodOverride)
basedpyright: sumpy/distributed.py#L70
Method "gather_potential_results" overrides class "DistributedExpansionWranglerMixin" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "PyOpenCLArrayContext", override parameter is type "PyOpenCLArrayContext"   Return type mismatch: base method returns type "_Array1D[float64] | None", override returns type "ObjectArray1D[Array] | None"     "boxtree.array_context.PyOpenCLArrayContext" is not assignable to "sumpy.array_context.PyOpenCLArrayContext"     Type "ObjectArray1D[Array] | None" is not assignable to type "_Array1D[float64] | None"       Type "ObjectArray1D[Array]" is not assignable to type "_Array1D[float64] | None"         "ObjectArray[tuple[int], Array]" is not assignable to "ndarray[tuple[int], dtype[float64]]"         "ObjectArray[tuple[int], Array]" is not assignable to "None" (reportIncompatibleMethodOverride)
basedpyright: sumpy/distributed.py#L55
Method "distribute_source_weights" overrides class "ExpansionWranglerInterface" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "PyOpenCLArrayContext", override parameter is type "PyOpenCLArrayContext"     "boxtree.array_context.PyOpenCLArrayContext" is not assignable to "sumpy.array_context.PyOpenCLArrayContext" (reportIncompatibleMethodOverride)
basedpyright: sumpy/distributed.py#L55
Method "distribute_source_weights" overrides class "DistributedExpansionWranglerMixin" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "PyOpenCLArrayContext", override parameter is type "PyOpenCLArrayContext"     "boxtree.array_context.PyOpenCLArrayContext" is not assignable to "sumpy.array_context.PyOpenCLArrayContext" (reportIncompatibleMethodOverride)
basedpyright: sumpy/codegen.py#L734
Expression of type "None" cannot be assigned to parameter of type "DTypeLike"   Type "None" is not assignable to type "DTypeLike"     "None" is not assignable to "type[Any]"     "None" is not assignable to "dtype[Any]"     "None" is incompatible with protocol "_HasDType[dtype[Any]]"       "dtype" is not present     "None" is incompatible with protocol "_HasNumPyDType[dtype[Any]]"       "__numpy_dtype__" is not present     "None" is not assignable to "tuple[_DTypeLikeNested, _DTypeLikeNested]" ... (reportArgumentType)
basedpyright: sumpy/array_context.py#L66
Expression of type "None" cannot be assigned to parameter of type "DTypeLike"   Type "None" is not assignable to type "DTypeLike"     "None" is not assignable to "type[Any]"     "None" is not assignable to "dtype[Any]"     "None" is incompatible with protocol "_HasDType[dtype[Any]]"       "dtype" is not present     "None" is incompatible with protocol "_HasNumPyDType[dtype[Any]]"       "__numpy_dtype__" is not present     "None" is not assignable to "tuple[_DTypeLikeNested, _DTypeLikeNested]" ... (reportArgumentType)
basedpyright: examples/curve-pot.py#L218
No overloads for "to_numpy" match the provided arguments (reportCallIssue)
basedpyright: examples/curve-pot.py#L213
Expression with type "tuple[Event, Sequence[Array]]" cannot be assigned to target tuple   Type "tuple[Event, Sequence[Array]]" is incompatible with target tuple     Tuple size mismatch; expected 1 but received 2 (reportAssignmentType)
Documentation
Process completed with exit code 2.
Conda Pytest Symengine with Loopy FFT
Process completed with exit code 1.
Conda Pytest Symengine with Loopy FFT: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-knl9-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest Symengine with Loopy FFT: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-knl3-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest Symengine with Loopy FFT: test/sumpy/test/test_fmm.py#L435
test_unified_single_and_double[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>] TypeError: PyOpenCLArrayContext.from_numpy invoked with an unsupported array type: got 'TaggableCLArray', but expected one of (<class 'numpy.ndarray'>,)
Conda Pytest Symengine
Process completed with exit code 1.
Conda Pytest Symengine: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-knl9-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest Symengine: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-knl3-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest Symengine: test/sumpy/test/test_fmm.py#L435
test_unified_single_and_double[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>] TypeError: PyOpenCLArrayContext.from_numpy invoked with an unsupported array type: got 'TaggableCLArray', but expected one of (<class 'numpy.ndarray'>,)
Conda Pytest
Process completed with exit code 1.
Conda Pytest: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-knl9-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest: test/sumpy/test/test_fmm.py#L128
test_sumpy_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-knl3-LinearPDEConformingVolumeTaylorLocalExpansion-LinearPDEConformingVolumeTaylorMultipoleExpansion-False-True-True-pyvkfft] AssertionError
Conda Pytest: test/sumpy/test/test_fmm.py#L435
test_unified_single_and_double[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>] TypeError: PyOpenCLArrayContext.from_numpy invoked with an unsupported array type: got 'TaggableCLArray', but expected one of (<class 'numpy.ndarray'>,)
Tests for downstream project pytential: pytential/.conda-root/envs/testing/lib/python3.13/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 pytential: pytential/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project pytential: pytential/.conda-root/envs/testing/lib/python3.13/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 pytential: pytential/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project pytential: pytential/.conda-root/envs/testing/lib/python3.13/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 pytential: pytential/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project pytential: pytential/.conda-root/envs/testing/lib/python3.13/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 pytential: pytential/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
Tests for downstream project pytential: pytential/.conda-root/envs/testing/lib/python3.13/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 pytential: pytential/.conda-root/envs/testing/lib/python3.13/site-packages/meshmode/dof_array.py#L79
'bcast_numpy_array=True' is deprecated and will be unsupported from 2025.
basedpyright: sumpy/distributed.py#L43
Type of parameter "tree_indep" is unknown (reportUnknownParameterType)
basedpyright: sumpy/distributed.py#L43
Type annotation is missing for parameter "comm" (reportMissingParameterType)
basedpyright: sumpy/distributed.py#L43
Type of parameter "comm" is unknown (reportUnknownParameterType)
basedpyright: sumpy/array_context.py#L96
"preamble_info" is not accessed (reportUnusedParameter)
basedpyright: sumpy/array_context.py#L82
Argument type is unknown   Argument corresponds to parameter "instructions" in function "make_kernel" (reportUnknownArgumentType)
basedpyright: sumpy/array_context.py#L81
Argument type is unknown   Argument corresponds to parameter "domains" in function "make_kernel" (reportUnknownArgumentType)
basedpyright: sumpy/array_context.py#L60
Type annotation is missing for parameter "statements" (reportMissingParameterType)
basedpyright: sumpy/array_context.py#L60
Type of parameter "statements" is unknown (reportUnknownParameterType)
basedpyright: sumpy/array_context.py#L60
Type annotation is missing for parameter "domains" (reportMissingParameterType)
basedpyright: sumpy/array_context.py#L60
Type of parameter "domains" is unknown (reportUnknownParameterType)
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/arraycontext/container/traversal.py#L154
Invoking PyOpenCLArrayContext.freeze with Array will be unsupported in 2026. Use 'to_tagged_cl_array' to convert instances to TaggableCLArray.