Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836693

Summary: dev-python/scipy-1.8.0 - FAILED scipy/io/arff/tests/test_arffread.py::TestNoData::test_nodata - AssertionError
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny, python
Priority: Normal Keywords: TESTFAILURE, UPSTREAM
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://github.com/scipy/scipy/issues/15931
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz (ppc64)
emerge --info

Description ernsteiswuerfel archtester 2022-04-03 13:21:05 UTC
Created attachment 768575 [details]
build.log.xz (ppc64)

[...]
136926:FAILED scipy/io/arff/tests/test_arffread.py::TestNoData::test_nodata - AssertionError: 
136927-=== 1 failed, 46545 passed, 2963 skipped, 199 xfailed, 12 xpassed, 15 warnings in 3353.74s (0:55:53) ===
136928- * ERROR: dev-python/scipy-1.8.0::gentoo failed (test phase):
136929- *   pytest failed with python3.9
Comment 1 ernsteiswuerfel archtester 2022-04-03 13:21:46 UTC
Created attachment 768576 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 14:41:07 UTC
Looks like endianness problem.

>       assert_equal(data.dtype, expected_dtype)
E       AssertionError: 
E       Items are not equal:
E        ACTUAL: dtype([('sepallength', '>f8'), ('sepalwidth', '>f8'), ('petallength', '>f8'), ('petalwidth', '>f8'), ('class', 'S15')])
E        DESIRED: dtype([('sepallength', '<f8'), ('sepalwidth', '<f8'), ('petallength', '<f8'), ('petalwidth', '<f8'), ('class', 'S15')])
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 14:53:23 UTC
Could you paste the output of:

python3.9 -c 'import sys, numpy; print(numpy.__version__, sys.version_info)'
Comment 4 ernsteiswuerfel archtester 2022-04-03 15:21:57 UTC
(In reply to Michał Górny from comment #3)
> Could you paste the output of:
> 
> python3.9 -c 'import sys, numpy; print(numpy.__version__, sys.version_info)'
1.22.2 sys.version_info(major=3, minor=9, micro=11, releaselevel='final', serial=0)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-19 01:28:31 UTC
Will be fixed in 1.9.0.
Comment 6 ernsteiswuerfel archtester 2023-01-11 16:04:12 UTC
Passes on current stable 1.9.2,