Control: reopen -1

Hi,

On 10-08-2022 20:51, Debian Bug Tracking System wrote:
  python-xarray (2022.06.0-2) unstable; urgency=medium
  .
    * Update  no-installer.patch to avoid accidentally claiming we're
     still at 0.16.1; this was breaking cfgrib
    * Temporarily drop zarr support as it segfaults tests
    * Temporarily drop rasterio support as python3-rasterio can't find
      proj.db in tests
    * Drop bottleneck patch; 1.3.2 now in Debian
    * Bug fixed in recent upload: Closes: #1013939

But the log [1] that was generated by the migration trial run has


=================================== FAILURES =================================== ___________________ test_weighted_operations_nonequal_coords ___________________

    def test_weighted_operations_nonequal_coords():
        # There are no weights for a == 4, so that data point is ignored.
weights = DataArray(np.random.randn(4), dims=("a",), coords=dict(a=[0, 1, 2, 3])) data = DataArray(np.random.randn(4), dims=("a",), coords=dict(a=[1, 2, 3, 4]))
        check_weighted_operations(data, weights, dim="a", skipna=None)

        q = 0.5
        result = data.weighted(weights).quantile(q, dim="a")
# Expected value computed using code from https://aakinshin.net/posts/weighted-quantiles/ with values at a=1,2,3 expected = DataArray([0.9308707], coords={"quantile": [q]}).squeeze()
>       assert_allclose(result, expected)
E       AssertionError: Left and right DataArray objects are not close
E
E       Differing values:
E       L
E           array(0.058928)
E       R
E           array(0.930871)

Paul

[1] https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-xarray/24586369/log.gz

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to