Hi Alastair,
yes, I sow the patch.
It looks good to me.
I think that now all the issues should be solved and xarray should
migrate soon.
cheers
antonio
Il 28/01/24 19:34, Alastair McKinstry ha scritto:
Hi Antonio,
I thought of that, but it would be better if we worked on the tolerance
instead.
xarray is arch:all, built on amd64, so the cfgrib dep would need to have
been on the autopkgtest system.
I've managed to do a patch in the meantime,
thanks
Alastair
On 28/01/2024 10:27, Antonio Valentino wrote:
Dear Alastair,
Il 28/01/24 09:48, Alastair McKinstry ha scritto:
Hi Antonio
Apologies for missing this; If you can do the patch it would be most
welcome
apparently the pristine-tar branch is not update on the git repository.
Could you please push the missing commits?
Moreover it seems that the python3-cfgrib dependency is not available
on i386.
Since it is an optional dependency I plan removed it form i386 ([!i386]).
Is it OK for you?
cheers
antonio
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
--
Antonio Valentino