Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923318 - dev-python/xarray-2024.1.1 fails tests
Summary: dev-python/xarray-2024.1.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: pytest8
  Show dependency tree
 
Reported: 2024-01-30 09:17 UTC by Agostino Sarubbo
Modified: 2024-01-31 12:00 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,192.43 KB, application/x-xz)
2024-01-30 09:17 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-30 09:17:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/xarray-2024.1.1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-30 09:17:26 UTC
Created attachment 883694 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-30 09:17:26 UTC
Error(s) that match a know pattern:


  but was not found to be installed on your system.
E               AssertionError: (Index([1, 2], dtype='int64', name='a'), <xarray.IndexVariable 'a' (a: 2)>
E               NotImplementedError: max_gap not implemented for unlabeled coordinates yet.
E               ValueError: the new name 'b' conflicts
E           AssertionError: Left and right Dataset objects are not close
E           ValueError: errors must be either "raise" or "ignore"
E       AssertionError: Left and right DataArray objects are not close
E       AssertionError: Left and right DataArray objects are not identical
E       AssertionError: Regex pattern did not match.
E       AttributeError: 'list' object has no attribute 'shape'
E       numpy.exceptions.DTypePromotionError: The DType <class 'numpy.dtypes.DateTime64DType'> could not be promoted by <class 'numpy.dtypes.Float64DType'>. This means that no common DType exists for the given inputs. For example they cannot be stored in a single array unless the dtype is `object`. The full list of DTypes is: (<class 'numpy.dtypes.DateTime64DType'>, <class 'numpy.dtypes.Int64DType'>, <class 'numpy.dtypes.Float64DType'>)
FAILED xarray/tests/test_dataset.py::TestDataset::test_drop_index_labels - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) w...
FAILED xarray/tests/test_dataset.py::TestDataset::test_rename_multiindex - Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emi...
FAILED xarray/tests/test_groupby.py::test_groupby_dims_property - assert 16 == 0
SKIPPED [1] xarray/tests/test_calendar_ops.py:14: could not import 'cftime': No module named 'cftime'
SKIPPED [1] xarray/tests/test_cftime_offsets.py:40: could not import 'cftime': No module named 'cftime'
SKIPPED [1] xarray/tests/test_cftimeindex_resample.py:15: could not import 'cftime': No module named 'cftime'
SKIPPED [1] xarray/tests/test_cupy.py:9: could not import 'cupy': No module named 'cupy'
SKIPPED [1] xarray/tests/test_dask.py:31: could not import 'dask': No module named 'dask'
SKIPPED [1] xarray/tests/test_distributed.py:15: could not import 'dask': No module named 'dask'
SKIPPED [1] xarray/tests/test_dtypes.py:33: could not import 'dask.array': No module named 'dask'
SKIPPED [1] xarray/tests/test_formatting_html.py:61: could not import 'dask': No module named 'dask'
SKIPPED [1] xarray/tests/test_indexing.py:774: could not import 'dask.array': No module named 'dask'
SKIPPED [1] xarray/tests/test_sparse.py:20: could not import 'sparse': No module named 'sparse'
SKIPPED [1] xarray/tests/test_ufuncs.py:117: could not import 'dask.array': No module named 'dask'
SKIPPED [1] xarray/tests/test_ufuncs.py:126: could not import 'dask.array': No module named 'dask'
SKIPPED [1] xarray/tests/test_units.py:30: could not import 'pint': No module named 'pint'
SKIPPED [2] xarray/tests/test_rolling.py:180: could not import 'dask.array': No module named 'dask'
Comment 3 Larry the Git Cow gentoo-dev 2024-01-31 12:00:10 UTC
The bug has been closed via the following commit(s):

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

commit a67ced94919a812b36395f59069928082dc1e56c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-31 11:59:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-31 12:00:07 +0000

    dev-python/xarray: Add a pytest-8 patch
    
    Closes: https://bugs.gentoo.org/923318
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../xarray/files/xarray-2024.1.1-pytest-8.patch    | 77 ++++++++++++++++++++++
 dev-python/xarray/xarray-2024.1.1.ebuild           | 41 +++++++-----
 2 files changed, 100 insertions(+), 18 deletions(-)