Bug#1067229: metpy: autopkgtest regression with NumPy 1.26

Timo Röhling roehling at debian.org
Wed Mar 20 15:58:12 GMT 2024


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 ==========


Cheers
Timo



-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmX7B5EACgkQ+C8H+466
LVmokQv+OIpBqsgrDGYODgkQxUW/D+rWrkJtJehe8HjFXsCVtOViQjC4WaSGcvR3
vnLkRoeEPbNTCUmjMzOsoRtDqx2mQ4BPKGZboBc/64G6JPtgrB1WRAVrxDXeeHVT
HMFmIWnoKV3FmNxvMSujPPK3t0HoawppkGlnK/66GOHWmj4SBfkSud9YuHQEfqDa
2H6uXeBA5TcxDEz+5qy32zNwtdGAksX3HnMcpnPBnCpi8l/ouPVXoaqDY4y/tB9w
e6iGFTJ9pYvJrI9n8eKOZCg6odI/z1Yhl3pPT7dg//zwzOCM8dtNBHM/tQWV1wUd
DUBp2H05RqgF+tJsjJ+HnLYzRCFjK0trQRAcG48UlrJJoG8FDrVzyGjQ4UNj2D6J
3J+0UkTEi7lqLasBFLZl0XsQX/Hom/XWNq4LBM6oObCWWoa5b0i7T5sCtrWKASVl
/oT6t77ms6O/eyLb68BT73tMxIzWecWYA42y8vocSXrQnbF32OGqYHr3AvhQeui9
ImdiPbEZ
=qYXE
-----END PGP SIGNATURE-----



More information about the Pkg-grass-devel mailing list