Skip to content

Improve types in assignment_collection #1947

Improve types in assignment_collection

Improve types in assignment_collection #1947

Triggered via pull request April 9, 2026 13:08
Status Cancelled
Total duration 5m 48s
Artifacts

ci.yml

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

Annotations

15 errors and 43 warnings
Documentation
Process completed with exit code 2.
basedpyright
Process completed with exit code 1.
basedpyright
3 errors
basedpyright: sumpy/test/test_matrixgen.py#L245
Argument of type "_Array[tuple[int, int], float64]" cannot be assigned to parameter "res_list" of type "Sequence[T@new_1d]" in function "new_1d"   "ndarray[tuple[int, int], dtype[float64]]" is not assignable to "Sequence[T@new_1d]" (reportArgumentType)
basedpyright: sumpy/test/test_matrixgen.py#L152
Argument of type "_Array[tuple[int, int], float64]" cannot be assigned to parameter "res_list" of type "Sequence[T@new_1d]" in function "new_1d"   "ndarray[tuple[int, int], dtype[float64]]" is not assignable to "Sequence[T@new_1d]" (reportArgumentType)
basedpyright: sumpy/test/test_kernels.py#L374
Argument of type "Array2D[floating[Any]]" cannot be assigned to parameter "res_list" of type "Sequence[T@new_1d]" in function "new_1d"   "ndarray[tuple[int, int], dtype[floating[Any]]]" is not assignable to "Sequence[T@new_1d]" (reportArgumentType)
Conda Pytest Symengine
Canceling since a higher priority waiting request for type-sac exists
Conda Pytest Symengine
The operation was canceled.
Tests for downstream project pytential
Canceling since a higher priority waiting request for type-sac exists
Tests for downstream project pytential
The operation was canceled.
Conda Pytest
Canceling since a higher priority waiting request for type-sac exists
Conda Pytest
The operation was canceled.
CI
Canceling since a higher priority waiting request for type-sac exists
Conda Pytest Symengine with Loopy FFT
Canceling since a higher priority waiting request for type-sac exists
Conda Pytest Symengine with Loopy FFT
The operation was canceled.
basedpyright: sumpy/test/test_matrixgen.py#L245
Argument type is partially unknown   Argument corresponds to parameter "array" in function "from_numpy"   Argument type is "ObjectArray[tuple[int], Unknown]" (reportUnknownArgumentType)
basedpyright: sumpy/test/test_matrixgen.py#L152
Argument type is partially unknown   Argument corresponds to parameter "array" in function "from_numpy"   Argument type is "ObjectArray[tuple[int], Unknown]" (reportUnknownArgumentType)
basedpyright: sumpy/test/test_kernels.py#L374
Argument type is partially unknown   Argument corresponds to parameter "array" in function "from_numpy"   Argument type is "ObjectArray[tuple[int], Unknown]" (reportUnknownArgumentType)
Conda Pytest Symengine: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest Symengine: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest Symengine: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest Symengine: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine: sumpy/tools.py#L1040
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 Symengine: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine: sumpy/tools.py#L1040
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 Symengine: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Tests for downstream project pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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 pytential: pytential/.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.
Conda Pytest: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest: sumpy/tools.py#L1065
PyOpenCLArrayContext.np.empty_like is deprecated and will stop working in 2023. Prefer actx.np.zeros_like instead.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest: sumpy/tools.py#L1040
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: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest: sumpy/tools.py#L1040
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: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine with Loopy FFT: sumpy/tools.py#L1040
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 Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine with Loopy FFT: sumpy/tools.py#L1040
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 Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.
Conda Pytest Symengine with Loopy FFT: .conda-root/envs/testing/lib/python3.14/site-packages/loopy/schedule/tools.py#L885
Cannot enforce the constraint: itgt to be nested within itgt_box, as itgt_box is either a parallel loop or not an iname.