Add support for Array API in NamedArray #16177
GitHub Actions / Test Results
failed
Aug 22, 2024 in 0s
2 errors, 2 skipped, 8 pass in 47s
Annotations
github-actions / Test Results
xarray.tests.test_dask with error
artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
#x1B[31mImportError while importing test module '/home/runner/work/xarray/xarray/xarray/tests/test_dask.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/importlib/__init__.py#x1B[0m:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:1127: in <module>
@pytest.mark.parametrize("obj", [make_ds(), make_da()])
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:1067: in make_ds
map_ds["a"] = make_da()
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:1059: in make_da
da.coords["ndcoord"] = da.x * 2
#x1B[1m#x1B[31mxarray/core/_typed_ops.py#x1B[0m:253: in __mul__
return self._binary_op(other, operator.mul)
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:4749: in _binary_op
f(self.variable, other_variable_or_arraylike)
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:577: in __mul__
from xarray.namedarray._array_api import multiply
#x1B[1m#x1B[31mxarray/namedarray/_array_api/__init__.py#x1B[0m:11: in <module>
from xarray.namedarray._array_api._constants import e, inf, nan, newaxis, pi
#x1B[1m#x1B[31mxarray/namedarray/_array_api/_constants.py#x1B[0m:3: in <module>
_xp = _maybe_default_namespace()
#x1B[1m#x1B[31mxarray/namedarray/_array_api/_utils.py#x1B[0m:28: in _maybe_default_namespace
import array_api_compat.numpy as xpd
#x1B[1m#x1B[31mE ModuleNotFoundError: No module named 'array_api_compat'#x1B[0m#x1B[0m
github-actions / Test Results
xarray.tests.test_sparse with error
artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
#x1B[31mImportError while importing test module '/home/runner/work/xarray/xarray/xarray/tests/test_sparse.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/importlib/__init__.py#x1B[0m:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:220: in <module>
(do("where", cond=make_xrvar({"x": 10, "y": 5}) > 0.5), True),
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:652: in __gt__
from xarray.namedarray._array_api import greater
#x1B[1m#x1B[31mxarray/namedarray/_array_api/__init__.py#x1B[0m:11: in <module>
from xarray.namedarray._array_api._constants import e, inf, nan, newaxis, pi
#x1B[1m#x1B[31mxarray/namedarray/_array_api/_constants.py#x1B[0m:3: in <module>
_xp = _maybe_default_namespace()
#x1B[1m#x1B[31mxarray/namedarray/_array_api/_utils.py#x1B[0m:28: in _maybe_default_namespace
import array_api_compat.numpy as xpd
#x1B[1m#x1B[31mE ModuleNotFoundError: No module named 'array_api_compat'#x1B[0m#x1B[0m
Check notice on line 0 in .github
github-actions / Test Results
2 skipped tests found
There are 2 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
xarray.tests.test_cupy
xarray.tests.test_units
Check notice on line 0 in .github
github-actions / Test Results
12 tests found
There are 12 tests, see "Raw output" for the full list of tests.
Raw output
xarray.tests.test_backends.TestDask ‑ test_dask_roundtrip
xarray.tests.test_backends.TestNetCDF4ViaDaskData ‑ test_roundtrip_coordinates
xarray.tests.test_backends.TestPydapOnline ‑ test_cmp_local_file
xarray.tests.test_backends.TestPydapOnline ‑ test_compatible_to_netcdf
xarray.tests.test_backends.TestPydapOnline ‑ test_dask
xarray.tests.test_backends.TestPydapOnline ‑ test_session
xarray.tests.test_cupy
xarray.tests.test_dask
xarray.tests.test_sparse
xarray.tests.test_tutorial.TestLoadDataset ‑ test_download_from_github
xarray.tests.test_tutorial.TestLoadDataset ‑ test_download_from_github_load_without_cache
xarray.tests.test_units
Loading