Backport patch to fix tests catching too many warnings.

This commit is contained in:
Elliott Sales de Andrade
2020-06-23 04:32:16 -04:00
parent e8852ff34b
commit 92222176fe
2 changed files with 59 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ 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/3274
Patch0004: 0004-Use-drawstyle-instead-of-linestyle-in-plot.step.patch
# https://github.com/pydata/xarray/pull/3930
Patch0005: https://github.com/pydata/xarray/pull/3930.patch
BuildArch: noarch
@@ -117,8 +119,7 @@ popd
%check
rm -rf xarray
PYTHONPATH=%{buildroot}%{python3_sitelib} \
pytest-3 -ra -n auto -m "not network" --pyargs xarray
%{pytest} -ra -n auto -m "not network" --pyargs xarray
%files -n python3-%{srcname}
@@ -135,6 +136,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%changelog
* Tue Jun 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.15.1-3
- Backport patch to fix tests catching too many warnings
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.15.1-3
- Rebuilt for Python 3.9