RE: Bug#1004870: python-xarray: autopkgtest regression on s390x

Rajendra Kharat1 <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <BN8PR15MB32689221D0AA9039B501FFAACCF89@BN8PR15MB3268.namprd15.prod.outlook.com>
Hi Graham,

We have identified the RCA of the problem that reported last month related to python-xarray. The problem was in pandas library where handling of big endian arch was not available in below file.


pandas/_libs/tslibs/conversion.pyx +225



By the time we identify this issue and fix it, from the pandas repo owners have already fixed that and with latest pandas package we are not getting that error.



Could you please upgrade the both pandas and xarray and confirm once.



Thanks,

Rajendra

From: Rajendra Kharat1 <[email protected]>
Date: Sunday, March 6, 2022 at 4:12 PM
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>, [email protected] <[email protected]>
Subject: [EXTERNAL] RE: Bug#1004870: python-xarray: autopkgtest regression on s390x
Hi Graham, Could you please share the steps to reproduce the issue. As when I am trying to reproduce I ran into different problem of segmentation fault. Below are the steps that I followed. 1. Install python3-xarray on debian on s390x arch. ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd

Hi Graham,

Could you please share the steps to reproduce the issue.
As when I am trying to reproduce I ran into different problem of segmentation fault.
Below are the steps that I followed.
1. Install python3-xarray on debian on s390x arch.
2. cd /usr/lib/python3/dist-packages/xarray
3. python3 -m pytest tests/ -vvv

For now I am debugging the segmentation fault, however just wanted to validate the steps to reproduce.

Thanks,
Rajendra

----- Original message -----
From: "Graham Inggs" <[email protected]>
To: "Rajendra Kharat1" <[email protected]>, [email protected], [email protected]
Cc:
Subject: [EXTERNAL] Re: Bug#1004870: python-xarray: autopkgtest regression on s390x
Date: Wed, Feb 16, 2022 4:39 PM

Hi Rajendra

Thanks for taking a look!

Unfortunately, that cannot be the solution, as that commit is already
present in the version of pandas in the archive [1].

Regards
Graham


[1] https://salsa.debian.org/science-team/pandas/-/blob/debian/pandas/core/arrays/datetimelike.py#L462<https://salsa.debian.org/science-team/pandas/-/blob/debian/pandas/core/arrays/datetimelike.py#L462>


On Sun, 13 Feb 2022 at 15:14, Rajendra Kharat1 <[email protected]> wrote:
>
> Hi Graham,
>
> This issue is again specific to no proper handling for bug endian environment.
>
> There is a fix from pandas library maintainers for this issue.
>
> https://github.com/pandas-dev/pandas/pull/40116<https://github.com/pandas-dev/pandas/pull/40116>
>
> Please find the link above and check if this resolves your issue.
>
> Thanks,
> Rajendra
>
>
> ----- Original message -----
> From: Rajendra Kharat1/India/Contr/IBM
> To: [email protected], [email protected]
> Cc: [email protected]
> Subject: Re: [EXTERNAL] Bug#1004870: python-xarray: autopkgtest regression on s390x
> Date: Thu, Feb 3, 2022 3:34 PM
>
> We are having a look. Will check and update.
>
> Thanks,
> Rajendra
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.