Simplify s390x conditional testing
[skip changelog]
This commit is contained in:
parent
92c93013bd
commit
01b3ebe23c
@ -148,6 +148,15 @@ pytest_args=(
|
|||||||
|
|
||||||
-k "${k-}"
|
-k "${k-}"
|
||||||
|
|
||||||
|
# arrow tests all fail on s390x, it's not at all BE-safe
|
||||||
|
# the exclusion of arrow as a build dep on s390x above is meant to
|
||||||
|
# ensure these tests get skipped, but dask-expr requires arrow, so it
|
||||||
|
# it gets pulled into the build env anyway
|
||||||
|
# https://github.com/dask/dask/issues/11186
|
||||||
|
%ifarch s390x
|
||||||
|
--ignore %{buildroot}%{python3_sitelib}/%{srcname}/dataframe/io/tests/test_parquet.py
|
||||||
|
%endif
|
||||||
|
|
||||||
# Upstream uses 'thread' for Windows, but that kills the whole session, and
|
# Upstream uses 'thread' for Windows, but that kills the whole session, and
|
||||||
# we'd like to see exactly which tests fail.
|
# we'd like to see exactly which tests fail.
|
||||||
--timeout_method=signal
|
--timeout_method=signal
|
||||||
@ -155,23 +164,9 @@ pytest_args=(
|
|||||||
--pyargs dask
|
--pyargs dask
|
||||||
)
|
)
|
||||||
|
|
||||||
%ifarch s390x
|
|
||||||
# arrow tests all fail on s390x, it's not at all BE-safe
|
|
||||||
# the exclusion of arrow as a build dep on s390x above is meant to
|
|
||||||
# ensure these tests get skipped, but dask-expr requires arrow, so it
|
|
||||||
# it gets pulled into the build env anyway
|
|
||||||
# https://github.com/dask/dask/issues/11186
|
|
||||||
mv %{buildroot}%{python3_sitelib}/%{srcname}/dataframe/io/tests/test_parquet.py %{buildroot}%{python3_sitelib}/%{srcname}/dataframe/io/tests/XXparquetXX
|
|
||||||
%endif
|
|
||||||
|
|
||||||
cd docs
|
cd docs
|
||||||
%{pytest} "${pytest_args[@]}"
|
%{pytest} "${pytest_args[@]}"
|
||||||
|
|
||||||
%ifarch s390x
|
|
||||||
mv %{buildroot}%{python3_sitelib}/%{srcname}/dataframe/io/tests/XXparquetXX %{buildroot}%{python3_sitelib}/%{srcname}/dataframe/io/tests/test_parquet.py
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license dask/array/NUMPY_LICENSE.txt
|
%license dask/array/NUMPY_LICENSE.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user