Source: python-xarray
Version: 2022.06.0~rc1-1
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of python-xarray the autopkgtest of python-xarray fails in testing when that autopkgtest is run with the binary packages of python-xarray from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-xarray          from testing    2022.06.0~rc1-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-xarray

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-xarray/23134419/log.gz

=================================== 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.289754)
E       R
E           array(0.930871)

/usr/lib/python3/dist-packages/xarray/tests/test_weighted.py:667: AssertionError

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to