Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mizani for openSUSE:Factory 
checked in at 2022-02-06 23:54:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mizani (Old)
 and      /work/SRC/openSUSE:Factory/.python-mizani.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mizani"

Sun Feb  6 23:54:39 2022 rev:4 rq:951927 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mizani/python-mizani.changes      
2021-02-19 23:45:10.099357687 +0100
+++ /work/SRC/openSUSE:Factory/.python-mizani.new.1898/python-mizani.changes    
2022-02-06 23:56:10.862051859 +0100
@@ -1,0 +2,6 @@
+Fri Feb  4 23:06:09 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.7.3
+  * Fixed log_breaks for narrow range if base=2 (:issue:`76`).
+
+-------------------------------------------------------------------

Old:
----
  mizani-0.7.2.tar.gz

New:
----
  mizani-0.7.3.tar.gz

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

Other differences:
------------------
++++++ python-mizani.spec ++++++
--- /var/tmp/diff_new_pack.Un84s4/_old  2022-02-06 23:56:11.334048667 +0100
+++ /var/tmp/diff_new_pack.Un84s4/_new  2022-02-06 23:56:11.338048640 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mizani
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,10 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define         skip_python2 1
-%define         skip_python36 1
 Name:           python-mizani
-Version:        0.7.2
+Version:        0.7.3
 Release:        0
 Summary:        Scales for Python
 License:        BSD-3-Clause
@@ -33,6 +32,7 @@
 Requires:       python-numpy
 Requires:       python-palettable
 Requires:       python-pandas >= 1.1.0
+Requires:       python-scipy >= 1.5.0
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module matplotlib >= 3.1.1}
@@ -40,7 +40,7 @@
 BuildRequires:  %{python_module palettable}
 BuildRequires:  %{python_module pandas >= 1.1.0}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module scipy >= 1.5.0}
 # /SECTION
 %python_subpackages
 
@@ -60,11 +60,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# test_breaks needs https://github.com/matplotlib/matplotlib/issues/22305 
fixed in next mpl
+%pytest --ignore mizani/tests/test_breaks.py
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/mizani
+%{python_sitelib}/mizani-%{version}*-info
 
 %changelog

++++++ mizani-0.7.2.tar.gz -> mizani-0.7.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/PKG-INFO new/mizani-0.7.3/PKG-INFO
--- old/mizani-0.7.2/PKG-INFO   2020-10-29 10:37:41.000000000 +0100
+++ new/mizani-0.7.3/PKG-INFO   2021-03-24 14:14:29.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: mizani
-Version: 0.7.2
+Version: 0.7.3
 Summary: Scales for Python
 Home-page: https://github.com/has2k1/mizani
 Maintainer: Hassan Kibirige
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/README.rst new/mizani-0.7.3/README.rst
--- old/mizani-0.7.2/README.rst 2018-10-03 10:09:15.000000000 +0200
+++ new/mizani-0.7.3/README.rst 2020-12-29 20:49:25.000000000 +0100
@@ -37,11 +37,11 @@
 .. |license| image:: https://img.shields.io/pypi/l/mizani.svg
 .. _license: https://pypi.python.org/pypi/mizani
 
-.. |buildstatus| image:: 
https://api.travis-ci.org/has2k1/mizani.svg?branch=master
-.. _buildstatus: https://travis-ci.org/has2k1/mizani
+.. |buildstatus| image:: 
https://github.com/has2k1/mizani/workflows/build/badge.svg?branch=master
+.. _buildstatus: 
https://github.com/has2k1/mizani/actions?query=branch%3Amaster+workflow%3A%22build%22
 
-.. |coverage| image:: 
https://coveralls.io/repos/github/has2k1/mizani/badge.svg?branch=master
-.. _coverage: https://coveralls.io/github/has2k1/mizani?branch=master
+.. |coverage| image:: https://codecov.io 
/github/has2k1/mizani/coverage.svg?branch=master
+.. _coverage: https://codecov.io/github/has2k1/mizani?branch=master
 
 .. |documentation| image:: 
https://readthedocs.org/projects/mizani/badge/?version=latest
 .. _documentation: https://mizani.readthedocs.io/en/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani/_version.py 
new/mizani-0.7.3/mizani/_version.py
--- old/mizani-0.7.2/mizani/_version.py 2020-10-29 10:37:41.000000000 +0100
+++ new/mizani-0.7.3/mizani/_version.py 2021-03-24 14:14:29.000000000 +0100
@@ -8,11 +8,11 @@
 
 version_json = '''
 {
- "date": "2020-10-29T12:19:27+0300",
+ "date": "2021-03-24T15:52:33+0300",
  "dirty": false,
  "error": null,
- "full-revisionid": "d8c8d0836c0a4f3123bf0875e5ff521843f5ea51",
- "version": "0.7.2"
+ "full-revisionid": "47ea2c1d5ab1b405ff3b2765ee46ea3633cc05da",
+ "version": "0.7.3"
 }
 '''  # END VERSION_JSON
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani/breaks.py 
new/mizani-0.7.3/mizani/breaks.py
--- old/mizani-0.7.2/mizani/breaks.py   2020-06-04 01:20:45.000000000 +0200
+++ new/mizani-0.7.3/mizani/breaks.py   2021-03-24 13:52:40.000000000 +0100
@@ -221,7 +221,7 @@
             return np.min(np.diff(log_arr))
 
         if self.base == 2:
-            return base ** np.arange(_min, _max+1)
+            return base ** np.arange(_min, _max+1, dtype=dtype)
 
         candidate = np.arange(base+1)
         candidate = np.compress(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani/tests/test_bounds.py 
new/mizani-0.7.3/mizani/tests/test_bounds.py
--- old/mizani-0.7.2/mizani/tests/test_bounds.py        2020-10-28 
20:56:23.000000000 +0100
+++ new/mizani-0.7.3/mizani/tests/test_bounds.py        2021-03-24 
13:52:40.000000000 +0100
@@ -3,7 +3,7 @@
 import numpy as np
 import numpy.testing as npt
 import pandas as pd
-import pandas.util.testing as pdt
+import pandas.testing as pdt
 import pytest
 from pytest import approx
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani/tests/test_breaks.py 
new/mizani-0.7.3/mizani/tests/test_breaks.py
--- old/mizani-0.7.2/mizani/tests/test_breaks.py        2020-10-28 
20:56:23.000000000 +0100
+++ new/mizani-0.7.3/mizani/tests/test_breaks.py        2021-03-24 
13:52:40.000000000 +0100
@@ -99,6 +99,13 @@
         [16, 32, 64, 128]
     )
 
+    # bases & negative breaks
+    breaks = log_breaks(base=2)([0.9, 2.9])
+    npt.assert_array_almost_equal(
+        breaks,
+        [0.5, 1., 2., 4.]
+    )
+
 
 def test_minor_breaks():
     # equidistant breaks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani/transforms.py 
new/mizani-0.7.3/mizani/transforms.py
--- old/mizani-0.7.2/mizani/transforms.py       2020-08-15 22:38:51.000000000 
+0200
+++ new/mizani-0.7.3/mizani/transforms.py       2021-03-24 13:52:40.000000000 
+0100
@@ -554,7 +554,13 @@
     computations may run into errors. Absence of any errors
     does not imply that the distribution fits the data.
     """
-    import scipy.stats as stats
+    try:
+        import scipy.stats as stats
+    except ImportError:
+        raise ImportError(
+            "Please install scipy so you can use a probability transform"
+        )
+
     cdists = {k for k in dir(stats)
               if hasattr(getattr(stats, k), 'cdf')}
     if distribution not in cdists:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mizani-0.7.2/mizani.egg-info/PKG-INFO 
new/mizani-0.7.3/mizani.egg-info/PKG-INFO
--- old/mizani-0.7.2/mizani.egg-info/PKG-INFO   2020-10-29 10:37:41.000000000 
+0100
+++ new/mizani-0.7.3/mizani.egg-info/PKG-INFO   2021-03-24 14:14:28.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: mizani
-Version: 0.7.2
+Version: 0.7.3
 Summary: Scales for Python
 Home-page: https://github.com/has2k1/mizani
 Maintainer: Hassan Kibirige

Reply via email to