Dear Timo,

On Wed, 20 Mar 2024 16:58:12 +0100 =?utf-8?q?Timo_R=C3=B6hling?= <roehl...@debian.org> wrote:
Source: metpy
Version: 1.6.1+ds-1
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

your package has an autopkgtest regression with NumPy 1.26.
Hopefully relevant excerpt from the test log:


142s > if np.any(np.max(pressure, axis=vertical_dim) < 950 * units.hectopascal):
  142s E       TypeError: no implementation found for 'numpy.max' on types that implement 
__array_function__: [<class 
'pint.quantity.build_quantity_class.<locals>.Quantity'>]
  142s
  142s /usr/lib/python3/dist-packages/metpy/calc/thermo.py:4589: TypeError
  142s =========================== short test summary info 
============================
  142s FAILED tests/calc/test_calc_tools.py::test_get_layer_heights_agl - 
TypeError:...
  142s FAILED 
tests/calc/test_calc_tools.py::test_get_layer_heights_agl_bottom_no_interp
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction - 
TypeError: no...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_edge - 
TypeErro...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_list - 
TypeErro...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_arr - 
TypeError...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_full - 
TypeErro...
  142s FAILED 
tests/calc/test_calc_tools.py::test_angle_to_direction_invalid_scalar
  142s FAILED 
tests/calc/test_calc_tools.py::test_angle_to_direction_invalid_arr - T...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_level_3 - 
TypeE...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_level_2 - 
TypeE...
  142s FAILED tests/calc/test_calc_tools.py::test_angle_to_direction_level_1 - 
TypeE...
  142s FAILED 
tests/calc/test_kinematics.py::test_storm_relative_helicity_no_storm_motion
  142s FAILED 
tests/calc/test_kinematics.py::test_storm_relative_helicity_storm_motion
  142s FAILED 
tests/calc/test_kinematics.py::test_storm_relative_helicity_with_interpolation
  142s FAILED tests/calc/test_kinematics.py::test_storm_relative_helicity - 
TypeErro...
  142s FAILED tests/calc/test_kinematics.py::test_storm_relative_helicity_agl - 
Type...
  142s FAILED 
tests/calc/test_kinematics.py::test_storm_relative_helicity_masked - T...
  142s FAILED tests/calc/test_thermo.py::test_lfc_ml2 - TypeError: no 
implementation...
  142s FAILED tests/calc/test_thermo.py::test_lfc_and_el_below_lcl - TypeError: 
no i...
  142s FAILED tests/calc/test_thermo.py::test_gdi - TypeError: no 
implementation fou...
  142s FAILED tests/calc/test_thermo.py::test_gdi_xarray - TypeError: no 
implementat...
  142s FAILED tests/calc/test_thermo.py::test_gdi_arrays - TypeError: no 
implementat...
  142s FAILED tests/calc/test_thermo.py::test_gdi_profile - TypeError: no 
implementa...
  142s FAILED tests/calc/test_thermo.py::test_gdi_no_950_raises_valueerror - 
TypeErr...
  142s ========= 25 failed, 937 passed, 25 skipped, 268 deselected in 21.69s 
==========
[CUT]

According to what reported by upstream in https://github.com/Unidata/MetPy/issues/3453 the issue is linked to an outdated version of python3-pint.
An update to Pint v0.22 should fix the issue.
Reassign to point.


kind reagrds
--
Antonio Valentino

Reply via email to