diff --git a/python-dask.spec b/python-dask.spec index a430587..742e06e 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -5,6 +5,10 @@ # Force bootstrap for package review. %bcond_without bootstrap +# We have an arched package to detect arch-dependent issues in dependencies, +# but all of the installable RPMs are noarch and there is no compiled code. +%global debug_package %{nil} + Name: python-%{srcname} Version: 2022.5.0 %global tag 2022.05.0 @@ -37,8 +41,6 @@ Patch: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch # tabs rather than spaces in setup.cfg. Patch: dask-2022.5.0-pr-9113.patch -BuildArch: noarch - %description Dask is a flexible parallel computing library for analytics. @@ -46,6 +48,8 @@ Dask is a flexible parallel computing library for analytics. %package -n python3-%{srcname} Summary: %{summary} +BuildArch: noarch + BuildRequires: python3-devel BuildRequires: python3dist(graphviz) BuildRequires: python3dist(ipython) @@ -54,7 +58,11 @@ BuildRequires: python3dist(scikit-image) BuildRequires: python3dist(xarray) %endif # Optional test requirements. +# Fastavro does not support 32 bit architectures and is ExcludeArch: +# https://bugzilla.redhat.com/show_bug.cgi?id=1943932 +%ifnarch %{arm32} %{ix86} BuildRequires: python3dist(fastavro) +%endif BuildRequires: python3dist(h5py) BuildRequires: python3dist(psutil) BuildRequires: python3dist(requests) @@ -101,6 +109,8 @@ Dask is a flexible parallel computing library for analytics. %package -n python-%{srcname}-doc Summary: dask documentation +BuildArch: noarch + BuildRequires: python3dist(dask_sphinx_theme) >= 1.3.5 BuildRequires: python3dist(numpydoc) BuildRequires: python3dist(sphinx) >= 4 @@ -216,6 +226,8 @@ pytest_args=( # Ignore https://github.com/numpy/numpy/issues/20225 and Pandas issues -W ignore::DeprecationWarning + + -k "${k-}" ) %{pytest} "${pytest_args[@]}"