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

Re: Joblib 1.2.0 available on salsa



Related discussion on
https://github.com/joblib/joblib/issues/279

Perhaps the test worth to be skipped on big endian architectures....
Should I add a patch?

Chiara

On Mon, Oct 10, 2022 at 11:56 AM Chiara Marmo <marmochiaskl@gmail.com> wrote:

Unfortunately joblib fails its test on s390x, and I don't have any time
to dig further -- could you take a look please?

https://ci.debian.net/data/autopkgtest/testing/s390x/j/joblib/26916492/log.gz


The test fails with

>                       assert result.dtype == expected.dtype
E                       AssertionError: assert dtype('<i8') == dtype('int64')
E                        +  where dtype('<i8') = memmap([0, 1, 2, 3, 4]).dtype
E                        +  and   dtype('int64') = array([0, 1, 2, 3, 4]).dtype

I guess this has to do with the endiannes of s390x (are all other infrastructures little endian?) ... I'm trying to understand how numpy exactly represent 'int64' ...

Chiara

Reply to: