Skip to content

Add QBMAX expansions #1763

Add QBMAX expansions

Add QBMAX expansions #1763

Triggered via pull request September 16, 2025 23:38
Status Failure
Total duration 39m 49s
Artifacts

ci.yml

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

Annotations

13 errors and 42 warnings
Documentation
Process completed with exit code 2.
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L213
Argument of type "ndarray[_AnyShape, dtype[Any]]" cannot be assigned to parameter "abscissa" of type "float" in function "add_data_point"   "ndarray[_AnyShape, dtype[Any]]" is not assignable to "float" (reportArgumentType)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L134
Argument of type "int | float" cannot be assigned to parameter "tau" of type "int" in function "__init__"   Type "int | float" is not assignable to type "int"     "float" is not assignable to "int" (reportArgumentType)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L41
Import "pytential.qbx" could not be resolved (reportMissingImports)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L40
Import "pytential" could not be resolved (reportMissingImports)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L37
Import "meshmode.discretization.poly_element" could not be resolved (reportMissingImports)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L36
Import "meshmode.discretization" could not be resolved (reportMissingImports)
basedpyright: sumpy/test/test_qbmax_line_expansion.py#L32
Import "meshmode.mesh.generation" could not be resolved (reportMissingImports)
basedpyright: sumpy/expansion/local.py#L261
Method "evaluate" overrides class "ExpansionBase" in an incompatible manner   Parameter 2 name mismatch: base parameter is named "kernel", override parameter is named "tgt_kernel"   Return type mismatch: base method returns type "None", override returns type "Expr"     "Expr" is not assignable to "None" (reportIncompatibleMethodOverride)
basedpyright: sumpy/expansion/local.py#L225
Method "coefficients_from_source" overrides class "ExpansionBase" in an incompatible manner   Return type mismatch: base method returns type "None", override returns type "list[Unknown]"     "list[Unknown]" is not assignable to "None" (reportIncompatibleMethodOverride)
basedpyright: sumpy/expansion/local.py#L206
Method "get_coefficient_identifiers" overrides class "ExpansionBase" in an incompatible manner   Return type mismatch: base method returns type "list[Hashable]", override returns type "list[int]"     "list[int]" is not assignable to "list[Hashable]"       Type parameter "_T@list" is invariant, but "int" is not the same as "Hashable"       Consider switching from "list" to "Sequence" which is covariant (reportIncompatibleMethodOverride)
Conda Pytest Symengine
Process completed with exit code 1.
Conda Pytest
Process completed with exit code 1.
Pylint
modifying pylint run because we're on Python 3.13
basedpyright: sumpy/expansion/local.py#L111
Type of "__init__" is partially unknown   Type of "__init__" is "(kernel: Unknown, order: Unknown, use_rscale: Unknown | None = None, m2l_translation: Unknown | None = None) -> None" (reportUnknownMemberType)
basedpyright: sumpy/expansion/local.py#L110
Type annotation is missing for parameter "m2l_translation" (reportMissingParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type of parameter "m2l_translation" is partially unknown   Parameter type is "Unknown | None" (reportUnknownParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type annotation is missing for parameter "use_rscale" (reportMissingParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type of parameter "use_rscale" is partially unknown   Parameter type is "Unknown | None" (reportUnknownParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type annotation is missing for parameter "tau" (reportMissingParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type annotation is missing for parameter "order" (reportMissingParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type of parameter "order" is unknown (reportUnknownParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type annotation is missing for parameter "kernel" (reportMissingParameterType)
basedpyright: sumpy/expansion/local.py#L110
Type of parameter "kernel" is unknown (reportUnknownParameterType)
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest Symengine: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/boxtree/array_context.py#L57
Using the base PyOpenCLArrayContext.transform_loopy_program to transform a translation unit. This is largely a no-op and unlikely to result in fast generated code.Instead, subclass PyOpenCLArrayContext and implement the specific transform logic required to transform the program for your package or application. Check higher-level packages (e.g. meshmode), which may already have subclasses you may want to build on.
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
Conda Pytest: .conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py#L198
Aff.is_equal with implicit conversion of self to PwAff is deprecated and will stop working in 2026. Explicitly convert to PwAff, using .to_pw_aff().
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
'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.