The package rpms/python-nilearn.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-nilearn.git/commit/?id=ef5189....
Change: +%ifarch s390x %{power64} %{arm64}
Thanks.
Full change: ============
commit ef51899a8bf49c013a85a7579316b38be6a0ec1b Author: Ankur Sinha (Ankur Sinha Gmail) sanjay.ankur@gmail.com Date: Thu Apr 28 21:44:51 2022 +0100
fix: disable few failing tests on necessary arches
diff --git a/python-nilearn.spec b/python-nilearn.spec index a3229b3..15c04d9 100644 --- a/python-nilearn.spec +++ b/python-nilearn.spec @@ -1,3 +1,7 @@ +# make main package noarch to run tests on all arches +# but the package is actually noarch, so don't generate debuginfo +%global debug_package %{nil} + %global desc %{expand: \ Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data. @@ -22,7 +26,6 @@ License: BSD URL: https://pypi.python.org/pypi/nilearn Source0: %{pypi_source nilearn}
-BuildArch: noarch
BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} @@ -34,6 +37,7 @@ Recommends: %{py3_dist matplotlib}
%package -n python3-nilearn Summary: %{summary} +BuildArch: noarch
%description -n python3-nilearn %{desc} @@ -63,7 +67,13 @@ sed -i 's/python/python3/' nilearn/plotting/glass_brain_files/generate_json.sh %pyproject_save_files nilearn
%check -%{pytest} nilearn + +# 4 of ~1500 tests are failing on a few arches, already reported upstream: +# https://github.com/nilearn/nilearn/issues/3232 +%ifarch s390x %{power64} %{arm64} +k="${k:-}${k:+ and} not test_nilearn_standardize[False-True-zscore] and not test_nilearn_standardize[False-True-psc] and not test_nilearn_standardize[True-True-zscore] and not test_nilearn_standardize[True-True-psc]" +%endif +%{pytest} -k "${k:-}" nilearn
%files -n python3-nilearn -f %{pyproject_files} %doc AUTHORS.rst README.rst
arch-excludes@lists.fedoraproject.org