Skip to content

map_node_coordinate_component: Use get_target_or_discretization #1917

map_node_coordinate_component: Use get_target_or_discretization

map_node_coordinate_component: Use get_target_or_discretization #1917

Triggered via pull request December 15, 2025 20:51
Status Failure
Total duration 37m 15s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 34 warnings
basedpyright
Process completed with exit code 1.
basedpyright
1 error
basedpyright: pytential/symbolic/primitives.py#L1849
Argument of type "tuple[str, tuple[ArithmeticExpression, ...] | int | integer[Any] | float | complex | inexact[Any, float | complex] | ExpressionNode | MultiVector[ArithmeticExpression]]" cannot be assigned to parameter "object" of type "tuple[Hashable, Hashable]" in function "append"   Type "tuple[ArithmeticExpression, ...] | int | integer[Any] | float | complex | inexact[Any, float | complex] | ExpressionNode | MultiVector[ArithmeticExpression]" is not assignable to type "Hashable"     "inexact[Any, float | complex]" is incompatible with protocol "Hashable"       "__hash__" is an incompatible type       "__hash__" is not defined as a ClassVar in protocol         Type "None" is not assignable to type "() -> int" (reportArgumentType)
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
basedpyright: examples/scaling-study.py#L41
Type of "diag" is partially unknown   Type of "diag" is "Overload[(v: ndarray[tuple[Unknown] | tuple[Unknown, Unknown], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: ndarray[tuple[int, int], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[int], dtype[_ScalarT@diag]], (v: ndarray[tuple[int], dtype[_ScalarT@diag]] | Sequence[_ScalarT@diag], k: int = 0) -> ndarray[tuple[int, int], dtype[_ScalarT@diag]], (v: Sequence[Sequence[complex | str | bytes | generic[Any]]], k: int = 0) -> ndarray[tuple[int], dtype[Any]], (v: Sequence[complex | str | bytes | generic[Any]], k: int = 0) -> ndarray[tuple[int, int], dtype[Any]], (v: _SupportsArray[dtype[_ScalarT@diag]] | _NestedSequence[_SupportsArray[dtype[_ScalarT@diag]]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], k: int = 0) -> ndarray[tuple[Any, ...], dtype[Any]]]" (reportUnknownMemberType)
basedpyright: examples/laplace-dirichlet-3d.py#L51
Type of "diag" is partially unknown   Type of "diag" is "Overload[(v: ndarray[tuple[Unknown] | tuple[Unknown, Unknown], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: ndarray[tuple[int, int], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[int], dtype[_ScalarT@diag]], (v: ndarray[tuple[int], dtype[_ScalarT@diag]] | Sequence[_ScalarT@diag], k: int = 0) -> ndarray[tuple[int, int], dtype[_ScalarT@diag]], (v: Sequence[Sequence[complex | str | bytes | generic[Any]]], k: int = 0) -> ndarray[tuple[int], dtype[Any]], (v: Sequence[complex | str | bytes | generic[Any]], k: int = 0) -> ndarray[tuple[int, int], dtype[Any]], (v: _SupportsArray[dtype[_ScalarT@diag]] | _NestedSequence[_SupportsArray[dtype[_ScalarT@diag]]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], k: int = 0) -> ndarray[tuple[Any, ...], dtype[Any]]]" (reportUnknownMemberType)
basedpyright: examples/helmholtz-dirichlet.py#L58
Type of "diag" is partially unknown   Type of "diag" is "Overload[(v: ndarray[tuple[Unknown] | tuple[Unknown, Unknown], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: ndarray[tuple[int, int], dtype[_ScalarT@diag]] | Sequence[Sequence[_ScalarT@diag]], k: int = 0) -> ndarray[tuple[int], dtype[_ScalarT@diag]], (v: ndarray[tuple[int], dtype[_ScalarT@diag]] | Sequence[_ScalarT@diag], k: int = 0) -> ndarray[tuple[int, int], dtype[_ScalarT@diag]], (v: Sequence[Sequence[complex | str | bytes | generic[Any]]], k: int = 0) -> ndarray[tuple[int], dtype[Any]], (v: Sequence[complex | str | bytes | generic[Any]], k: int = 0) -> ndarray[tuple[int, int], dtype[Any]], (v: _SupportsArray[dtype[_ScalarT@diag]] | _NestedSequence[_SupportsArray[dtype[_ScalarT@diag]]], k: int = 0) -> ndarray[tuple[Any, ...], dtype[_ScalarT@diag]], (v: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], k: int = 0) -> ndarray[tuple[Any, ...], dtype[Any]]]" (reportUnknownMemberType)
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Mac: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest Linux: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.
Pytest with SymEngine: .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.