Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933710 - dev-python/xarray-2024.5.0 fails tests on hppa: AssertionError: <xarray.Dataset>
Summary: dev-python/xarray-2024.5.0 fails tests on hppa: AssertionError: <xarray.Dataset>
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-07 00:01 UTC by matoro
Modified: 2024-06-14 16:36 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,264.15 KB, application/gzip)
2024-06-07 00:01 UTC, matoro
Details
build.log and emerge --info (build.log.gz,241.81 KB, patch)
2024-06-14 14:45 UTC, matoro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-07 00:01:38 UTC
Created attachment 895279 [details]
build.log and emerge --info

We have an arch-specific skip for this on hppa for some reason, not sure what the story is there.  Also, total of 4 other failures.

FAILED xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex - assert "<xarray.DataArray (x: 4)> Size: 32B\narray([0, 1, 2, 3], dtype=uint64)\nCoordinates:\n  * x        (x) object 32B MultiIndex\n  * ...
FAILED xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long - assert "<xarray.DataArray (x: 32)> Size: 256B\narray([ 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16,\n       17, 18, ...
FAILED xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex - assert "<xarray.Dataset> Size: 96B\nDimensions:  (x: 4)\nCoordinates:\n  * x        (x) object 32B MultiIndex\n  * level_1  (x) object 32B...
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[standard-noleap] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[noleap-proleptic_gregorian] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[standard-360_day] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[360_day-proleptic_gregorian] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[noleap-all_leap] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_calendar_ops.py::test_interp_calendar[360_day-noleap] - ModuleNotFoundError: No module named 'scipy'
FAILED xarray/tests/test_formatting.py::test_array_repr_dtypes_unix - AssertionError: assert '<xarray.DataArray (x: 1)> Size: 4B\narray([0])\nDimensions without coordinates: x' == '<xarray.DataArray (x: 1)> S...
Comment 1 Larry the Git Cow gentoo-dev 2024-06-07 17:29:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5eb0f82b74a20113eb9c2d881ce68142646563b

commit e5eb0f82b74a20113eb9c2d881ce68142646563b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-07 15:11:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-07 17:26:39 +0000

    dev-python/xarray: Handle missing dev-python/scipy gracefully
    
    Bug: https://bugs.gentoo.org/933710
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/xarray/xarray-2024.5.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 matoro archtester 2024-06-14 14:45:58 UTC
Created attachment 895824 [details, diff]
build.log and emerge --info

Rerun after above commit
Comment 3 Larry the Git Cow gentoo-dev 2024-06-14 16:36:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd077138bdce17211ae13f77a27055d2a385833

commit 7cd077138bdce17211ae13f77a27055d2a385833
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-14 16:33:54 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-14 16:33:54 +0000

    dev-python/xarray: Deselect tests broken on 32-bit arches
    
    Closes: https://bugs.gentoo.org/933710
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/xarray/xarray-2024.5.0.ebuild | 11 +++++++++++
 dev-python/xarray/xarray-2024.6.0.ebuild | 11 +++++++++++
 2 files changed, 22 insertions(+)