Backport fixes to tests.
This commit is contained in:
+9
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.18.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: N-D labeled arrays and datasets in Python
|
||||
|
||||
License: ASL 2.0
|
||||
@@ -17,6 +17,11 @@ Source2: https://github.com/mapbox/rasterio/raw/1.0.21/tests/data/RGB.byt
|
||||
# All Fedora specific.
|
||||
Patch0001: 0001-DOC-Don-t-download-RGB.byte.tif-during-build.patch
|
||||
Patch0002: 0002-DOC-Skip-examples-using-unpackaged-dependencies.patch
|
||||
Patch0003: 0003-DOC-Don-t-print-out-conda-pip-environment.patch
|
||||
# https://github.com/pydata/xarray/pull/5574
|
||||
Patch0004: 0004-Fix-type-inference-for-dask-push.patch
|
||||
# https://github.com/pydata/xarray/pull/5574
|
||||
Patch0005: 0005-fix-dask-meta-and-output_dtypes-error-5449.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -114,10 +119,6 @@ rm -rf xarray
|
||||
pytest_args=(
|
||||
-n auto
|
||||
-m "not network"
|
||||
|
||||
# FIXME: skip failing tests
|
||||
--deselect=tests/test_backends.py::test_no_warning_from_dask_effective_get
|
||||
--deselect=tests/test_computation.py::test_vectorize_dask_dtype_meta
|
||||
)
|
||||
|
||||
%{pytest} -ra "${pytest_args[@]}" --pyargs xarray
|
||||
@@ -137,6 +138,9 @@ pytest_args=(
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 04 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.18.2-2
|
||||
- Backport fixes to tests
|
||||
|
||||
* Thu Jun 17 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.18.2-1
|
||||
- Update to latest version (#1957925)
|
||||
- Skip failing tests (#1969172)
|
||||
|
||||
Reference in New Issue
Block a user