Hello community,

here is the log from the commit of package python-nilearn for openSUSE:Factory 
checked in at 2020-01-09 22:50:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nilearn (Old)
 and      /work/SRC/openSUSE:Factory/.python-nilearn.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nilearn"

Thu Jan  9 22:50:25 2020 rev:2 rq:761939 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nilearn/python-nilearn.changes    
2019-07-29 17:28:49.462248173 +0200
+++ /work/SRC/openSUSE:Factory/.python-nilearn.new.6675/python-nilearn.changes  
2020-01-09 22:50:34.502708691 +0100
@@ -1,0 +2,64 @@
+Mon Jan  6 15:55:04 UTC 2020 - Todd R <[email protected]>
+
+- Update to version 0.6.0
+  + HIGHLIGHTS
+    * Python2 and 3.4 are no longer supported. We recommend upgrading to 
Python 3.6 minimum.
+    * Support for Python3.5 wil be removed in the 0.7.x release.
+      Users with a Python3.5 environment will be warned at their first Nilearn 
import.
+    * joblib is now a dependency
+    * Minimum supported versions of packages have been bumped up.
+      > Matplotlib -- v2.0
+      > Scikit-learn -- v0.19
+      > Scipy -- v0.19
+  + NEW
+    * A new method for :class:`nilearn.input_data.NiftiMasker` instances
+      for generating reports viewable in a web browser, Jupyter Notebook, or 
VSCode.
+    * A new function :func:`nilearn.image.get_data` to replace the deprecated
+      nibabel method `Nifti1Image.get_data`. Now use 
`nilearn.image.get_data(img)`
+      rather than `img.get_data()`. This is because Nibabel is removing the
+      `get_data` method. You may also consider using the Nibabel
+      `Nifti1Image.get_fdata`, which returns the data cast to floating-point.
+      See https://github.com/nipy/nibabel/wiki/BIAP8 .
+      As a benefit, the `get_data` function works on niimg-like objects such as
+      filenames (see 
http://nilearn.github.io/manipulating_images/input_output.html ).
+    * Parcellation method ReNA: Fast agglomerative clustering based on 
recursive
+      nearest neighbor grouping.
+      Yields very fast & accurate models, without creation of giant
+      clusters.
+    * Plot connectome strength
+      Use :func:`nilearn.plotting.plot_connectome_strength` to plot the 
strength of a
+      connectome on a glass brain.  Strength is absolute sum of the edges at a 
node.
+    * Optimization to image resampling
+    * New brain development fMRI dataset fetcher
+      :func:`nilearn.datasets.fetch_development_fmri` can be used to download
+      movie-watching data in children and adults. A light-weight dataset
+      implemented for teaching and usage in the examples. All the connectivity 
examples
+      are changed from ADHD to brain development fmri dataset.
+  + ENHANCEMENTS
+    * :func:`nilearn.plotting.view_img_on_surf`, 
:func:`nilearn.plotting.view_surf`
+      and :func:`nilearn.plotting.view_connectome` can display a title, and 
allow
+      disabling the colorbar, and setting its height and the fontsize of its 
ticklabels.
+    * Rework of the standardize-options of :func:`nilearn.signal.clean` and 
the various Maskers
+      in `nilearn.input_data`. You can now set `standardize` to `zscore` or 
`psc`. `psc` stands
+      for `Percent Signal Change`, which can be a meaningful metric for BOLD.
+    * Class :class:`nilearn.input_data.NiftiLabelsMasker` now accepts an 
optional
+      `strategy` parameter which allows it to change the function used to 
reduce
+      values within each labelled ROI. Available functions include mean, 
median,
+      minimum, maximum, standard_deviation and variance.
+      This change is also introduced in 
:func:`nilearn.regions.img_to_signals_labels`.
+    * :func:`nilearn.plotting.view_surf` now accepts surface data provided as 
a file
+      path.
+  + CHANGES
+    * :func:`nilearn.plotting.plot_img` now has explicit keyword arguments 
`bg_img`,
+      `vmin` and `vmax` to control the background image and the bounds of the
+      colormap. These arguments were already accepted in `kwargs` but not 
documented
+      before.
+  + FIXES
+    * :class:`nilearn.input_data.NiftiLabelsMasker` no longer truncates region 
means to their integral part
+      when input images are of integer type.
+    * The arg `version='det'` in 
:func:`nilearn.datasets.fetch_atlas_pauli_2017` now  works as expected.
+    * `pip install nilearn` now installs the necessary dependencies.
+    * Lots of other fixes in documentation and examples. More detailed change 
list follows:
+- Drop python2 support
+
+-------------------------------------------------------------------

Old:
----
  nilearn-0.5.2.tar.gz

New:
----
  nilearn-0.6.0.tar.gz

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

Other differences:
------------------
++++++ python-nilearn.spec ++++++
--- /var/tmp/diff_new_pack.uZ4UEx/_old  2020-01-09 22:50:36.130709505 +0100
+++ /var/tmp/diff_new_pack.uZ4UEx/_new  2020-01-09 22:50:36.130709505 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nilearn
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define         skip_python2 1
 Name:           python-nilearn
-Version:        0.5.2
+Version:        0.6.0
 Release:        0
 License:        BSD-3-Clause
 Summary:        Statistical learning tool for neuroimaging
@@ -28,14 +29,19 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
+BuildRequires:  %{python_module joblib}
+BuildRequires:  %{python_module matplotlib >= 2.0}
 BuildRequires:  %{python_module nibabel >= 2.0.2}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module scikit-learn}
-BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scikit-learn >= 0.19}
+BuildRequires:  %{python_module scipy >= 0.19}
 # /SECTION
+Requires:       python-joblib
+Requires:       python-matplotlib >= 2.0
 Requires:       python-nibabel >= 2.0.2
-Requires:       python-scikit-learn
-Requires:       python-scipy
+Requires:       python-scikit-learn >= 0.19
+Requires:       python-scipy >= 0.19
 BuildArch:      noarch
 
 %python_subpackages
@@ -55,7 +61,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+# Disable tests that require a network connection
+%pytest -v -k 'not test_fetch_ and not test_get_batch and not 
test_scroll_server_results and not test_simple_download and not 
test_fill_html_template and not test_temp_file_removing and not 
test_view_img_on_surf and not test_view_surf and not 
test_resample_img_segmentation_fault'
 
 %files %{python_files}
 %doc AUTHORS.rst README.rst

++++++ nilearn-0.5.2.tar.gz -> nilearn-0.6.0.tar.gz ++++++
++++ 150882 lines of diff (skipped)


Reply via email to