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 2023-03-06 18:57:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mizani (Old)
 and      /work/SRC/openSUSE:Factory/.python-mizani.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mizani"

Mon Mar  6 18:57:01 2023 rev:5 rq:1069704 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mizani/python-mizani.changes      
2022-02-06 23:56:10.862051859 +0100
+++ /work/SRC/openSUSE:Factory/.python-mizani.new.31432/python-mizani.changes   
2023-03-06 18:57:03.077123903 +0100
@@ -1,0 +2,29 @@
+Mon Mar  6 16:30:10 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Disable broken test in i586 mizani.breaks.log_breaks, it's broken
+  because it expect:
+    array([     1000,    10000,   100000,  1000000])
+  but got:
+    array([     1000,    10000,   100000,  1000000], dtype=int32)
+
+-------------------------------------------------------------------
+Tue Feb 14 03:46:39 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 0.8.1:
+  * Fixed regression bug in mizani.formatters.log_format for
+    where formatting for bases 2, 8 and 16 would fail if the values were
+    float-integers.
+  * mizani.formatters.log_format now uses exponent notation
+    for bases other than base 10.
+  * The lut parameter of mizani.palettes.cmap_pal and
+    mizani.palettes.cmap_d_pal has been deprecated and will
+    removed in a future version.
+  * mizani.transforms.datetime_trans gained parameter tz
+    that controls the timezone of the transformation.
+  * mizani.formatters.log_format gained boolean parameter
+    mathtex for TeX values as understood by matplotlib instead of
+    values in scientific notation.
+  * Fixed bug in mizani.bounds.zero_range where uint64
+    values would cause a RuntimeError. 
+
+-------------------------------------------------------------------

Old:
----
  mizani-0.7.3.tar.gz

New:
----
  mizani-0.8.1.tar.gz

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

Other differences:
------------------
++++++ python-mizani.spec ++++++
--- /var/tmp/diff_new_pack.LqxSK9/_old  2023-03-06 18:57:03.901128107 +0100
+++ /var/tmp/diff_new_pack.LqxSK9/_new  2023-03-06 18:57:03.909128147 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mizani
 #
-# Copyright (c) 2022 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,16 +16,17 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define         skip_python2 1
 Name:           python-mizani
-Version:        0.7.3
+Version:        0.8.1
 Release:        0
 Summary:        Scales for Python
 License:        BSD-3-Clause
 URL:            https://github.com/has2k1/mizani
 Source:         
https://files.pythonhosted.org/packages/source/m/mizani/mizani-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-matplotlib >= 3.1.1
@@ -35,10 +36,12 @@
 Requires:       python-scipy >= 1.5.0
 BuildArch:      noarch
 # SECTION test requirements
+BuildRequires:  %{python_module backports.zoneinfo if %python-base < 3.9}
 BuildRequires:  %{python_module matplotlib >= 3.1.1}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module palettable}
 BuildRequires:  %{python_module pandas >= 1.1.0}
+BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy >= 1.5.0}
 # /SECTION
@@ -53,15 +56,17 @@
 sed -i 's/unit=//' mizani/tests/test_*.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# Broken test in i586
+donttest="mizani.breaks.log_breaks"
 # test_breaks needs https://github.com/matplotlib/matplotlib/issues/22305 
fixed in next mpl
-%pytest --ignore mizani/tests/test_breaks.py
+%pytest --ignore mizani/tests/test_breaks.py -k "not ($donttest)"
 
 %files %{python_files}
 %doc README.rst

++++++ mizani-0.7.3.tar.gz -> mizani-0.8.1.tar.gz ++++++
++++ 6378 lines of diff (skipped)

Reply via email to