Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nilearn for openSUSE:Factory 
checked in at 2022-07-18 18:34:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nilearn (Old)
 and      /work/SRC/openSUSE:Factory/.python-nilearn.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nilearn"

Mon Jul 18 18:34:07 2022 rev:11 rq:989479 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nilearn/python-nilearn.changes    
2022-01-22 08:18:40.626704447 +0100
+++ /work/SRC/openSUSE:Factory/.python-nilearn.new.1523/python-nilearn.changes  
2022-07-18 18:34:20.789792397 +0200
@@ -1,0 +2,27 @@
+Tue Jul 12 14:02:31 UTC 2022 - Mark??ta Machov?? <[email protected]>
+
+- Update to 0.9.1
+  * Python 3.6 is deprecated and will be removed in release 0.10
+  * Nibabel 2.x is no longer supported
+  * Surface plotting functions can now produce interactive plots 
+    with Plotly
+  * New module nilearn.interfaces to implement loading and saving 
+    utilities with various interfaces
+  * New functions load_confounds and load_confounds_strategy to 
+    load confound variables easily from fMRIPrep outputs
+  * New class HierarchicalKMeans which yields more balanced 
+    clusters than KMeans. It is also callable through Parcellations 
+    using method=hierarchical_kmeans
+  * Masker objects like NiftiMasker now belong to the new module 
+    nilearn.maskers. The old import style, through the module 
+    input_data, still works but has been deprecated
+  * Class NiftiMapsMasker can now generate HTML reports in the same 
+    way as NiftiMasker and NiftiLabelsMasker
+  * The contributing documentation and maintenance pages were improved
+  * many more changes, see upstream changelog
+- Add upstream patch fix-test-decoder.patch
+- Delete upstreamed patches:
+  * nilearn-pr3136-pythoncall.patch 
+  * nilearn-pr3094-py310.patch 
+
+-------------------------------------------------------------------

Old:
----
  nilearn-0.8.1.tar.gz
  nilearn-pr3094-py310.patch
  nilearn-pr3136-pythoncall.patch

New:
----
  fix-test-decoder.patch
  nilearn-0.9.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nilearn.spec ++++++
--- /var/tmp/diff_new_pack.ny6QKM/_old  2022-07-18 18:34:21.429793307 +0200
+++ /var/tmp/diff_new_pack.ny6QKM/_new  2022-07-18 18:34:21.433793313 +0200
@@ -19,40 +19,38 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define         skip_python2 1
 Name:           python-nilearn
-Version:        0.8.1
+Version:        0.9.1
 Release:        0
 Summary:        Statistical learning tool for neuroimaging
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/nilearn/nilearn
 Source:         
https://github.com/nilearn/nilearn/archive/%{version}.tar.gz#/nilearn-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM nilearn-pr3094-py310.patch -- gh#nilearn/nilearn#3094
-Patch0:         nilearn-pr3094-py310.patch
-# PATCH-FIX-UPSTREAM nilearn-pr3136-pythoncall.patch -- gh#nilearn/nilearn#3136
-Patch1:         nilearn-pr3136-pythoncall.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/nilearn/nilearn/commit/4242c0d03e3fc790b17a1d88ce5a4140633c6b6f
 fix test decoder (#3252)
+Patch0:         fix-test-decoder.patch
 BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-joblib >= 0.12
-Requires:       python-matplotlib >= 2.0
-Requires:       python-nibabel >= 2.5.0
-Requires:       python-numpy >= 1.16
-Requires:       python-requests
-Requires:       python-scikit-learn >= 0.21
-Requires:       python-scipy >= 1.2.0
+Requires:       python-joblib >= 0.15
+Requires:       python-matplotlib >= 3.0
+Requires:       python-nibabel >= 3.0
+Requires:       python-numpy >= 1.18
+Requires:       python-requests >= 2
+Requires:       python-scikit-learn >= 0.22
+Requires:       python-scipy >= 1.5
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module joblib >= 0.12}
-BuildRequires:  %{python_module matplotlib >= 2.0}
-BuildRequires:  %{python_module nibabel >= 2.5.0}
-BuildRequires:  %{python_module numpy >= 1.16}
-BuildRequires:  %{python_module pandas >= 0.24}
+BuildRequires:  %{python_module joblib >= 0.15}
+BuildRequires:  %{python_module matplotlib >= 3.0}
+BuildRequires:  %{python_module nibabel >= 3.0}
+BuildRequires:  %{python_module numpy >= 1.18}
+BuildRequires:  %{python_module pandas >= 1.0}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module scikit-learn >= 0.21}
-BuildRequires:  %{python_module scipy >= 1.2.0}
+BuildRequires:  %{python_module requests >= 2}
+BuildRequires:  %{python_module scikit-learn >= 0.22}
+BuildRequires:  %{python_module scipy >= 1.5}
 # /SECTION
 %python_subpackages
 
@@ -84,6 +82,8 @@
 donttest+=" or test_clean_confounds"
 # https://github.com/nilearn/nilearn/issues/2610
 donttest+=" or test_reorder_img_mirror"
+# https://github.com/nilearn/nilearn/issues/3309
+donttest+=" or test_with_globbing_patterns_with_multiple_images"
 if [[ $(getconf LONG_BIT) -eq 64 ]]; then
 # this is a noarch rpm package but the pure python code is only intended for 
64-bit architectures
 %pytest -n auto -k "not ($donttest)"

++++++ fix-test-decoder.patch ++++++
>From 4242c0d03e3fc790b17a1d88ce5a4140633c6b6f Mon Sep 17 00:00:00 2001
From: Gensollen <[email protected]>
Date: Sat, 14 May 2022 08:52:49 +0200
Subject: [PATCH] fix test decoder (#3252)

---
 nilearn/decoding/tests/test_decoder.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nilearn/decoding/tests/test_decoder.py 
b/nilearn/decoding/tests/test_decoder.py
index e34aa39042..cd6bea2aab 100644
--- a/nilearn/decoding/tests/test_decoder.py
+++ b/nilearn/decoding/tests/test_decoder.py
@@ -290,7 +290,8 @@ def test_decoder_dummy_classifier():
                     scoring=None)
     assert model.scoring is None
     model.fit(X, y)
-    assert model.scorer_ == get_scorer("accuracy")
+    assert model.scorer_._score_func == get_scorer("accuracy")._score_func
+    assert model.scorer_._sign == get_scorer("accuracy")._sign
     assert model.score(X, y) > 0.5
 
 

++++++ nilearn-0.8.1.tar.gz -> nilearn-0.9.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-nilearn/nilearn-0.8.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-nilearn.new.1523/nilearn-0.9.1.tar.gz 
differ: char 13, line 1

Reply via email to