Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836693 - dev-python/scipy-1.8.0 - FAILED scipy/io/arff/tests/test_arffread.py::TestNoData::test_nodata - AssertionError
Summary: dev-python/scipy-1.8.0 - FAILED scipy/io/arff/tests/test_arffread.py::TestNoD...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE, UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-04-03 13:21 UTC by ernsteiswuerfel
Modified: 2023-01-11 16:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (ppc64) (scipy-1.8.0:20220403-113129.log.xz,385.15 KB, application/x-xz)
2022-04-03 13:21 UTC, ernsteiswuerfel
Details
emerge --info (file_836693.txt,6.65 KB, text/plain)
2022-04-03 13:21 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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,