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=783....
Change:
+%ifarch s390x %{power64} %{arm64} %{arm32} %{ix86}
Thanks.
Full change:
============
commit 783a2a235796ae0b67fdc225e25944b0f4d28fe6
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur(a)gmail.com>
Date: Thu May 5 09:37:04 2022 +0100
feat: update to 0.9.1
diff --git a/.gitignore b/.gitignore
index b3f2956..c9f02e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
/nilearn-0.7.1.tar.gz
/nilearn-0.8.1.tar.gz
/nilearn-0.9.0.tar.gz
+/nilearn-0.9.1.tar.gz
+/python-nilearn-0.9.1.tar.gz
diff --git a/python-nilearn.spec b/python-nilearn.spec
index 89a8250..8d4e5be 100644
--- a/python-nilearn.spec
+++ b/python-nilearn.spec
@@ -18,13 +18,14 @@ Eickenberg, C. F. Gorgolewski, D. Bzdok, L. Esteve and B. Cipollini.
Detailed documentation is available at
http://nilearn.github.io/.}
Name: python-nilearn
-Version: 0.9.0
+Version: 0.9.1
Release: %autorelease
Summary: Python module for fast and easy statistical learning on NeuroImaging
data
License: BSD
URL:
https://pypi.python.org/pypi/nilearn
-Source0: %{pypi_source nilearn}
+# Use GitHub tar: pypi does not include all test data
+Source0:
https://github.com/nilearn/nilearn/archive/%{version}/%{name}-%{version}....
BuildRequires: python3-devel
@@ -51,7 +52,7 @@ find . -name "*pyc" -exec rm -f '{}' \;
# Correct python command
sed -i 's/python/python3/' nilearn/plotting/html_document.py
-sed -i 's/python/python3/' nilearn/plotting/glass_brain_files/generate_json.sh
+#sed -i 's/python/python3/' nilearn/plotting/glass_brain_files/generate_json.sh
%generate_buildrequires
%pyproject_buildrequires -r
@@ -68,11 +69,11 @@ sed -i 's/python/python3/'
nilearn/plotting/glass_brain_files/generate_json.sh
%check
-# 4 of ~1500 tests are failing on a few arches, already reported upstream:
#
https://github.com/nilearn/nilearn/issues/3232
-%ifarch s390x %{power64} %{arm64} %{arm32}
-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]"
+%ifarch s390x %{power64} %{arm64} %{arm32} %{ix86}
+k="${k:-}${k:+ and} not test_load_confounds"
%endif
+
%{pytest} -k "${k:-}" nilearn
%files -n python3-nilearn -f %{pyproject_files}
diff --git a/sources b/sources
index bafac9c..0d1a2e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nilearn-0.9.0.tar.gz) =
1149054d8f7dee6198f50a1546aa622af0e03387daf8505f522b3826ab50878f78cbff861893a6310158c9bc96331381289dd97bae8c15e47ffb8f4151bc93c0
+SHA512 (python-nilearn-0.9.1.tar.gz) =
f824fc563fd56b25508ee5803963fc98c2048fbab8823a6a6bde39e4b428a871588211649b4ce939f65173f6d4afd019e9fe1445b5cfdd00fba7823d9e23a571