[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please push your changes to python-xarray



Hi Antonio

Apologies for missing this; If you can do the patch it would be most welcome

Alastair


On 29/12/2023 08:32, Antonio Valentino wrote:
Dear Alastair,

Il 07/11/23 09:26, Andreas Tille ha scritto:
Hi Alastair,

I realised that the Git repository on salsa[1] is lagging a couple of
uploads behind the package pool.  Please be so kind to push your changes
to Salsa.

Thanks a lot for your work on this package
     Andreas.

[1] https://salsa.debian.org/science-team/python-xarray


Could you please push the latest version of python-xarray on salsa.

Apparently there is still a minor issue wit one of the test failing on i386 due to a very small difference in floating point comparison:

476s args = (<built-in function eq>, dask.array<_trim, shape=(100, 5, 40), dtype=float64, chunksize=(30, 5, 8), chunktype=numpy.nd...],
476s         [  65.36304574,   26.87142205,  -47.4180402 , ...,
476s            -8.1151556 ,  -27.92171386, -107.97673653]]]))
476s kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True}
476s
476s     @wraps(func)
476s     def inner(*args, **kwds):
476s         with self._recreate_cm():
476s >           return func(*args, **kwds)
476s E           AssertionError:
476s E           Arrays are not equal
476s E
476s E           Mismatched elements: 1 / 20000 (0.005%)
476s E           Max absolute difference: 3.55271368e-15
476s E           Max relative difference: 1.59075788e-16
476s E            x: array([[[ 143.252678,  177.351506, 20.885528, ...,  -41.065331,
476s E                     306.96076 , -205.052599],
476s E                   [-132.877841,  -93.323709, -152.760556, ..., 24.847851,... 476s E            y: array([[[ 143.252678,  177.351506, 20.885528, ...,  -41.065331,
476s E                     306.96076 , -205.052599],
476s E                   [-132.877841,  -93.323709, -152.760556, ..., 24.847851,...
476s
476s /usr/lib/python3.11/contextlib.py:81: AssertionError


If it is OK for you, I think that I can quickly provide a patch for it and, hopefully, unlock the xarray migration. I have several packages depending on xarray an I would really like to have an update xarray in testing ASAP.


kind regards

--
Alastair McKinstry,
GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5
e: mckinstry@debian.org, im: @alastair:mckinstry.ie


Reply to: