Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PeakUtils for 
openSUSE:Factory checked in at 2023-06-01 17:19:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PeakUtils (Old)
 and      /work/SRC/openSUSE:Factory/.python-PeakUtils.new.2531 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PeakUtils"

Thu Jun  1 17:19:21 2023 rev:6 rq:1090057 version:1.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PeakUtils/python-PeakUtils.changes        
2021-04-21 20:59:50.806243619 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-PeakUtils.new.2531/python-PeakUtils.changes  
    2023-06-01 17:19:27.734139700 +0200
@@ -1,0 +2,7 @@
+Wed May 31 19:09:12 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.3.4:
+  * fix indexes() returning an empty float64 array
+  * Change to linalg.pinv() 
+
+-------------------------------------------------------------------

Old:
----
  PeakUtils-1.3.3.tar.gz

New:
----
  PeakUtils-1.3.4.tar.gz

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

Other differences:
------------------
++++++ python-PeakUtils.spec ++++++
--- /var/tmp/diff_new_pack.dNY3TS/_old  2023-06-01 17:19:28.170142285 +0200
+++ /var/tmp/diff_new_pack.dNY3TS/_new  2023-06-01 17:19:28.174142309 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PeakUtils
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python36 1
+%{?sle15_python_module_pythons}
 Name:           python-PeakUtils
-Version:        1.3.3
+Version:        1.3.4
 Release:        0
 Summary:        Peak detection utilities for 1D data
 License:        MIT

++++++ PeakUtils-1.3.3.tar.gz -> PeakUtils-1.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/LICENSE.txt 
new/PeakUtils-1.3.4/LICENSE.txt
--- old/PeakUtils-1.3.3/LICENSE.txt     2020-01-23 15:24:11.000000000 +0100
+++ new/PeakUtils-1.3.4/LICENSE.txt     2022-08-05 15:08:50.000000000 +0200
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2014 Lucas Hermann Negri
+Copyright (c) 2014-2022 Lucas Hermann Negri
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/PKG-INFO new/PeakUtils-1.3.4/PKG-INFO
--- old/PeakUtils-1.3.3/PKG-INFO        2020-01-23 15:36:13.000000000 +0100
+++ new/PeakUtils-1.3.4/PKG-INFO        2022-08-05 15:18:02.603463000 +0200
@@ -1,53 +1,53 @@
 Metadata-Version: 2.1
 Name: PeakUtils
-Version: 1.3.3
+Version: 1.3.4
 Summary: Peak detection utilities for 1D data
 Home-page: https://bitbucket.org/lucashnegri/peakutils
 Author: Lucas Hermann Negri
 Author-email: [email protected]
 License: MIT
-Description: PeakUtils
-        =========
-        
-        .. image:: https://zenodo.org/badge/102883046.svg
-           :target: https://zenodo.org/badge/latestdoi/102883046
-        
-        This package provides utilities related to the detection of peaks on 
1D data.
-        Includes functions to estimate baselines, finding the indexes of peaks 
in the data
-        and performing Gaussian fitting or centroid computation to further 
increase the
-        resolution of the peak detection.
-        
-        The documentation is available at 
http://peakutils.readthedocs.io/en/latest .
-        
-        Installation
-        ------------
-        
-        To install PeakUtils from the source package, run:
-        
-        .. code-block:: bash
-        
-            python setup.py install
-        
-        PeakUtils targets Python 2.7+ and depends on numpy, scipy, and 
optionally on
-        matplotlib.
-        
-        Contribute
-        ----------
-        
-        - Source Code: https://bitbucket.org/lucashnegri/peakutils
-        - Issues: https://bitbucket.org/lucashnegri/peakutils/issues
-        - Direct contact: Lucas Hermann Negri - lucashnegri <at> gmail.com
-        
-        License
-        -------
-        
-        The project is licensed under the MIT license.
-        
 Keywords: peak detection search gaussian centroid baseline maximum
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Scientific/Engineering
 Description-Content-Type: text/x-rst
+License-File: LICENSE.txt
+
+PeakUtils
+=========
+
+.. image:: https://zenodo.org/badge/102883046.svg
+   :target: https://zenodo.org/badge/latestdoi/102883046
+
+This package provides utilities related to the detection of peaks on 1D data.
+Includes functions to estimate baselines, finding the indexes of peaks in the 
data
+and performing Gaussian fitting or centroid computation to further increase the
+resolution of the peak detection.
+
+The documentation is available at http://peakutils.readthedocs.io/en/latest .
+
+Installation
+------------
+
+To install PeakUtils from the source package, run:
+
+.. code-block:: bash
+
+    python setup.py install
+
+PeakUtils targets Python 2.7+ and depends on numpy, scipy, and optionally on
+matplotlib.
+
+Contribute
+----------
+
+- Source Code: https://bitbucket.org/lucashnegri/peakutils
+- Issues: https://bitbucket.org/lucashnegri/peakutils/issues
+- Direct contact: Lucas Hermann Negri - lucashnegri <at> gmail.com
+
+License
+-------
+
+The project is licensed under the MIT license.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/PeakUtils.egg-info/PKG-INFO 
new/PeakUtils-1.3.4/PeakUtils.egg-info/PKG-INFO
--- old/PeakUtils-1.3.3/PeakUtils.egg-info/PKG-INFO     2020-01-23 
15:36:13.000000000 +0100
+++ new/PeakUtils-1.3.4/PeakUtils.egg-info/PKG-INFO     2022-08-05 
15:18:02.000000000 +0200
@@ -1,53 +1,53 @@
 Metadata-Version: 2.1
 Name: PeakUtils
-Version: 1.3.3
+Version: 1.3.4
 Summary: Peak detection utilities for 1D data
 Home-page: https://bitbucket.org/lucashnegri/peakutils
 Author: Lucas Hermann Negri
 Author-email: [email protected]
 License: MIT
-Description: PeakUtils
-        =========
-        
-        .. image:: https://zenodo.org/badge/102883046.svg
-           :target: https://zenodo.org/badge/latestdoi/102883046
-        
-        This package provides utilities related to the detection of peaks on 
1D data.
-        Includes functions to estimate baselines, finding the indexes of peaks 
in the data
-        and performing Gaussian fitting or centroid computation to further 
increase the
-        resolution of the peak detection.
-        
-        The documentation is available at 
http://peakutils.readthedocs.io/en/latest .
-        
-        Installation
-        ------------
-        
-        To install PeakUtils from the source package, run:
-        
-        .. code-block:: bash
-        
-            python setup.py install
-        
-        PeakUtils targets Python 2.7+ and depends on numpy, scipy, and 
optionally on
-        matplotlib.
-        
-        Contribute
-        ----------
-        
-        - Source Code: https://bitbucket.org/lucashnegri/peakutils
-        - Issues: https://bitbucket.org/lucashnegri/peakutils/issues
-        - Direct contact: Lucas Hermann Negri - lucashnegri <at> gmail.com
-        
-        License
-        -------
-        
-        The project is licensed under the MIT license.
-        
 Keywords: peak detection search gaussian centroid baseline maximum
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Scientific/Engineering
 Description-Content-Type: text/x-rst
+License-File: LICENSE.txt
+
+PeakUtils
+=========
+
+.. image:: https://zenodo.org/badge/102883046.svg
+   :target: https://zenodo.org/badge/latestdoi/102883046
+
+This package provides utilities related to the detection of peaks on 1D data.
+Includes functions to estimate baselines, finding the indexes of peaks in the 
data
+and performing Gaussian fitting or centroid computation to further increase the
+resolution of the peak detection.
+
+The documentation is available at http://peakutils.readthedocs.io/en/latest .
+
+Installation
+------------
+
+To install PeakUtils from the source package, run:
+
+.. code-block:: bash
+
+    python setup.py install
+
+PeakUtils targets Python 2.7+ and depends on numpy, scipy, and optionally on
+matplotlib.
+
+Contribute
+----------
+
+- Source Code: https://bitbucket.org/lucashnegri/peakutils
+- Issues: https://bitbucket.org/lucashnegri/peakutils/issues
+- Direct contact: Lucas Hermann Negri - lucashnegri <at> gmail.com
+
+License
+-------
+
+The project is licensed under the MIT license.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/peakutils/__init__.py 
new/PeakUtils-1.3.4/peakutils/__init__.py
--- old/PeakUtils-1.3.3/peakutils/__init__.py   2020-01-23 15:26:46.000000000 
+0100
+++ new/PeakUtils-1.3.4/peakutils/__init__.py   2022-08-05 15:09:03.000000000 
+0200
@@ -2,4 +2,4 @@
 from .peak import *
 from .prepare import *
 
-__version__ = '1.3.3'
+__version__ = '1.3.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/peakutils/baseline.py 
new/PeakUtils-1.3.4/peakutils/baseline.py
--- old/PeakUtils-1.3.3/peakutils/baseline.py   2020-01-23 15:24:11.000000000 
+0100
+++ new/PeakUtils-1.3.4/peakutils/baseline.py   2022-08-05 15:06:04.000000000 
+0200
@@ -48,7 +48,7 @@
     base = y.copy()
 
     vander = np.vander(x, order)
-    vander_pinv = LA.pinv2(vander)
+    vander_pinv = LA.pinv(vander)
 
     for _ in range(max_it):
         coeffs_new = np.dot(vander_pinv, y)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/setup.py new/PeakUtils-1.3.4/setup.py
--- old/PeakUtils-1.3.3/setup.py        2020-01-23 15:26:22.000000000 +0100
+++ new/PeakUtils-1.3.4/setup.py        2022-08-05 15:07:23.000000000 +0200
@@ -5,7 +5,7 @@
 
 setup(
     name='PeakUtils',
-    version='1.3.3',
+    version='1.3.4',
     description='Peak detection utilities for 1D data',
     long_description=long_description,
     long_description_content_type="text/x-rst",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PeakUtils-1.3.3/tests/perf.py 
new/PeakUtils-1.3.4/tests/perf.py
--- old/PeakUtils-1.3.3/tests/perf.py   2020-01-23 15:24:11.000000000 +0100
+++ new/PeakUtils-1.3.4/tests/perf.py   2022-08-05 14:56:58.000000000 +0200
@@ -16,14 +16,13 @@
              ("Small - High noise", make_data(200, 3.), 100),
              ("Big - Low noise",    make_data(20000, 1), 5),
              ("Big - High noise",   make_data(20000, 2.), 5),
-             ("Plateaus", (0, np.insert(np.ones(20000-3),
-                                        [1000, 10000, -1000], 3)), 5)]
+             ("Plateaus", (0, np.insert(np.ones(20000-3), [1000, 10000, 
-1000], 3)), 5)]
     for name, data, rep in tests:
         begin = timer()
 
         for _ in range(rep):
             y = data[1] - peakutils.baseline(data[1])
-            if name is "Plateaus": y = data[1]
+            if name == "Plateaus": y = data[1]
             i = peakutils.indexes(y, thres=0.4, min_dist=y.size // 5)
 
         end = timer()

Reply via email to