Improve typing in codegen #1819
ci.yml
on: pull_request
Ruff
6s
Typos
5s
basedpyright
2m 28s
Documentation
2m 4s
Conda Pytest
37m 5s
Conda Pytest Symengine
32m 12s
Conda Examples
2m 11s
Matrix: downstream_tests
Annotations
30 errors and 30 warnings
|
Tests for downstream project pytential:
pytential/test/test/test_matrix.py#L132
test_build_matrix[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-vector-curve_fn0-0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_matrix.py#L132
test_build_matrix[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-scalar_mixed-curve_fn1-42]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_layer_pot_eigenvalues.py#L161
test_ellipse_eigenvalues[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-7-5-True]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_layer_pot.py#L296
test_single_plus_double_with_single_fmm[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_layer_pot.py#L207
test_off_surface_eval_vs_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_layer_pot.py#L134
test_off_surface_eval[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-False]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_beltrami.py#L254
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator3-solution3]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_beltrami.py#L249
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator2-solution2]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_beltrami.py#L262
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator1-solution1]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Tests for downstream project pytential:
pytential/test/test/test_beltrami.py#L249
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator0-solution0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_matrixgen.py#L120
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-1-1.0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-3-YukawaKernel-kernel_kwargs2]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-3-HelmholtzKernel-kernel_kwargs1]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-3-LaplaceKernel-kernel_kwargs0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-2-YukawaKernel-kernel_kwargs2]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-2-HelmholtzKernel-kernel_kwargs1]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-skylake-avx512-Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz' on 'Portable Computing Language'>>-2-LaplaceKernel-kernel_kwargs0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L704
test_m2m_and_l2l_exprs_simpler[True-base_knl0-VolumeTaylorLocalExpansion-VolumeTaylorMultipoleExpansion-4]
RuntimeError: Symbol cannot be evaluated.
|
|
Conda Pytest Symengine:
test/sumpy/test/test_kernels.py#L704
test_m2m_and_l2l_exprs_simpler[False-base_knl0-VolumeTaylorLocalExpansion-VolumeTaylorMultipoleExpansion-4]
RuntimeError: Symbol cannot be evaluated.
|
|
Conda Pytest Symengine:
test/sumpy/test/test_codegen.py#L68
test_line_taylor_coeff_growth
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_matrixgen.py#L120
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-0.6]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_matrixgen.py#L120
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-2-1.0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_matrixgen.py#L120
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-0.6]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_matrixgen.py#L120
test_qbx_direct[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-1-1.0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-3-YukawaKernel-kernel_kwargs2]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-3-HelmholtzKernel-kernel_kwargs1]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_kernels.py#L906
test_jump[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-3-LaplaceKernel-kernel_kwargs0]
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
Conda Pytest:
test/sumpy/test/test_kernels.py#L704
test_m2m_and_l2l_exprs_simpler[True-base_knl0-VolumeTaylorLocalExpansion-VolumeTaylorMultipoleExpansion-4]
TypeError: Cannot convert expression to float
|
|
Conda Pytest:
test/sumpy/test/test_kernels.py#L704
test_m2m_and_l2l_exprs_simpler[False-base_knl0-VolumeTaylorLocalExpansion-VolumeTaylorMultipoleExpansion-4]
TypeError: Cannot convert expression to float
|
|
Conda Pytest:
test/sumpy/test/test_codegen.py#L68
test_line_taylor_coeff_growth
TypeError: Can't instantiate abstract class LineTaylorLocalExpansion without an implementation for abstract method 'translate_from'
|
|
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.
|
|
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/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.::warning file=/home/runner/work/sumpy/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py,line=198::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/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/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.::warning file=/home/runner/work/sumpy/sumpy/.conda-root/envs/testing/lib/python3.13/site-packages/loopy/isl_helpers.py,line=198::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/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.14/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.14/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.14/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.14/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.14/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.14/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.14/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.14/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.14/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.14/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().
|