Bug#1079677: metpy: tests fail with scipy 1.14

Antonio Valentino antonio.valentino at tiscali.it
Mon Aug 26 17:16:20 BST 2024


Hi Drew,

On Mon, 26 Aug 2024 09:51:18 +0200 Drew Parsons <dparsons at debian.org> wrote:
> Source: metpy
> Version: 1.6.2+ds-1
> Severity: normal
> 
> metpy is failing tests with scipy 1.14 (from experimental)
> 
>  94s _______________________________ test_sweat_index _______________________________
>  94s 
>  94s     def test_sweat_index():
>  94s         """Test the SWEAT Index calculation."""

[...]

>  94s         # clean dst units from offset units
>  94s         if dst_offset_unit:
>  94s             if any(u.startswith("delta_") for u in src):
>  94s >               raise DimensionalityError(src, dst)
>  94s E               pint.errors.DimensionalityError: Cannot convert from 'delta_degree_Celsius' to 'degree_Celsius'
>  94s 
>  94s /usr/lib/python3/dist-packages/pint/facets/nonmultiplicative/registry.py:281: DimensionalityError

The issue is not related to scipy but to an update in python3-pint.
The problem should be fixed in matpy 1.6.2+ds-2 (already uploaded).
I'm going to close this bug.

regards
-- 
Antonio Valentino



More information about the Pkg-grass-devel mailing list