Hello community,

here is the log from the commit of package python-seaborn for openSUSE:Factory 
checked in at 2020-01-31 23:58:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-seaborn (Old)
 and      /work/SRC/openSUSE:Factory/.python-seaborn.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-seaborn"

Fri Jan 31 23:58:46 2020 rev:12 rq:769124 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-seaborn/python-seaborn.changes    
2020-01-09 22:50:38.750710816 +0100
+++ /work/SRC/openSUSE:Factory/.python-seaborn.new.26092/python-seaborn.changes 
2020-01-31 23:59:26.591718527 +0100
@@ -1,0 +2,52 @@
+Thu Jan 30 19:24:13 UTC 2020 - Todd R <[email protected]>
+
+- Update to 0.10.0
+  * Most notably, all support for Python 2 has now been dropped.
+  * Support for Python 3.5 has also been dropped.
+  * Minimally supported versions of the dependent PyData libraries have also 
been increased, in some cases substantially.
+  * This release also removes a few previously-deprecated features:
+    > The ``tsplot`` function and ``seaborn.timeseries`` module have been 
removed. Recall that ``tsplot`` was replaced with :func:`lineplot`.
+    > The ``seaborn.apionly`` entry-point has been removed.
+    > The ``seaborn.linearmodels`` module (previously renamed to 
``seaborn.regression``) has been removed.
+- Update to 0.9.1
+  + New features
+    * Added more control over the arrangement of the elements drawn by 
:func:`clustermap` with the ``{dendrogram,colors}_ratio`` and ``cbar_pos`` 
parameters. Additionally, the default organization and scaling with different 
figure sizes has been improved.
+    * Added the ``corner`` option to :class:`PairGrid` and :func:`pairplot` to 
make a grid without the upper triangle of bivariate axes.
+    * Added the ability to seed the random number generator for the bootstrap 
used to define error bars in several plots. Relevant functions now have a 
``seed`` parameter, which can take either fixed seed (typically an ``int``) or 
a numpy random number generator object (either the newer 
:class:`numpy.random.Generator` or the older 
:class:`numpy.random.mtrand.RandomState`).
+    * Generalized the idea of "diagonal" axes in :class:`PairGrid` to any axes 
that share an x and y variable.
+    * In :class:`PairGrid`, the ``hue`` variable is now excluded from the 
default list of variables that make up the rows and columns of the grid.
+    * Exposed the ``layout_pad`` parameter in :class:`PairGrid` and set a 
smaller default than what matptlotlib sets for more efficient use of space in 
dense grids.
+    * It is now possible to force a categorical interpretation of the ``hue`` 
varaible in a relational plot by passing the name of a categorical palette 
(e.g. ``"deep"``, or ``"Set2"``). This complements the (previously supported) 
option of passig a list/dict of colors.
+    * Added the ``tree_kws`` parameter to :func:`clustermap` to control the 
properties of the lines in the dendrogram.
+    * Added the ability to pass hierarchical label names to the 
:class:`FacetGrid` legend, which also fixes a bug in :func:`relplot` when the 
same label appeared in diffent semantics.
+    * Improved support for grouping observations based on pandas index 
information in categorical plots.
+  + Bug fixes and adaptations
+    * Avoided an error when singular data is passed to :func:`kdeplot`, 
issuing a warning instead. This makes :func:`pairplot` more robust.
+    * Fixed the behavior of ``dropna`` in :class:`PairGrid` to properly 
exclude null datapoints from each plot when set to ``True``.
+    * Fixed an issue where :func:`regplot` could interfere with other axes in 
a multi-plot matplotlib figure.
+    * Semantic variables with a ``category`` data type will always be treated 
as categorical in relational plots.
+    * Avoided a warning about color specifications that arose from 
:func:`boxenplot` on newer matplotlibs.
+    * Adapted to a change in how matplotlib scales axis margins, which caused 
multiple calls to :func:`regplot` with ``truncate=False`` to progressively 
expand the x axis limits. Because there are currently limitations on how 
autoscaling works in matplotlib, the default value for ``truncate`` in seaborn 
has also been changed to ``True``.
+    * Relational plots no longer error when hue/size data are inferred to be 
numeric but stored with a string datatype.
+    * Relational plots now consider semantics with only a single value that 
can be interpreted as boolean (0 or 1) to be categorical, not numeric.
+    * Relational plots now handle list or dict specifications for ``sizes`` 
correctly.
+    * Fixed an issue in :func:`pointplot` where missing levels of a hue 
variable would cause an exception after a recent update in matplotlib.
+    * Fixed a bug when setting the rotation of x tick labels on a 
:class:`FacetGrid`.
+    * Fixed a bug where values would be excluded from categorical plots when 
only one variable was a pandas ``Series`` with a non-default index.
+    * Fixed a bug when using ``Series`` objects as arguments for ``x_partial`` 
or ``y_partial`` in :func:`regplot`.
+    * Fixed a bug when passing a ``norm`` object and using color annotations 
in :func:`clustermap`.
+    * Fixed a bug where annotations were not rearranged to match the 
clustering in :func:`clustermap`.
+    * Fixed a bug when trying to call :func:`set` while specifying a list of 
colors for the palette.
+    * Fixed a bug when resetting the color code short-hands to the matplotlib 
default.
+    * Avoided errors from stricter type checking in upcoming ``numpy`` changes.
+    * Avoided error/warning in :func:`lineplot` when plotting categoricals 
with empty levels.
+    * Allowed ``colors`` to be passed through to a bivariate :func:`kdeplot`.
+    * Standardized the output format of custom color palette functions.
+    * Fixed a bug where legends for numerical variables in a relational plot 
could show a surprisingly large number of decimal places.
+    * Improved robustness to missing values in distribution plots.
+    * Made it possible to specify the location of the :class:`FacetGrid` 
legend using matplotlib keyword arguments.
+- Drop upstream-included fix_labels_rotation.patch
+- Add use_platform_int.patch to fix 32bit builds
+  See https://github.com/mwaskom/seaborn/pull/1952
+
+-------------------------------------------------------------------

Old:
----
  fix_labels_rotation.patch
  seaborn-0.9.0.tar.gz

New:
----
  seaborn-0.10.0.tar.gz
  use_platform_int.patch

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

Other differences:
------------------
++++++ python-seaborn.spec ++++++
--- /var/tmp/diff_new_pack.d7TbgE/_old  2020-01-31 23:59:27.187718836 +0100
+++ /var/tmp/diff_new_pack.d7TbgE/_new  2020-01-31 23:59:27.187718836 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-seaborn
 #
-# 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
@@ -19,36 +19,36 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-seaborn
-Version:        0.9.0
+Version:        0.10.0
 Release:        0
 Summary:        Statistical data visualization for python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/mwaskom/seaborn
 Source:         
https://files.pythonhosted.org/packages/source/s/seaborn/seaborn-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM - fix_labels_rotation.patch - gh#mwaskom/seaborn/#1598 
gh#mwaskom/seaborn/#1716
-Patch0:         fix_labels_rotation.patch
+# PATCH-FIX-UPSTREAM use_platform_int.patch - 
https://github.com/mwaskom/seaborn/pull/1952
+Patch0:         use_platform_int.patch
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module fastcluster}
 BuildRequires:  %{python_module ipython}
-BuildRequires:  %{python_module matplotlib}
+BuildRequires:  %{python_module matplotlib >= 2.1.2}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module notebook}
-BuildRequires:  %{python_module numpy-devel}
-BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module numpy-devel >= 1.13.3}
+BuildRequires:  %{python_module pandas >= 0.22.0}
 BuildRequires:  %{python_module patsy}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module scipy >= 1.0.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module statsmodels}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildConflicts: python-buildservice-tweak
-Requires:       python-matplotlib
-Requires:       python-numpy
-Requires:       python-pandas
-Requires:       python-scipy
+Requires:       python-matplotlib >= 2.1.2
+Requires:       python-numpy >= 1.13.3
+Requires:       python-pandas >= 0.22.0
+Requires:       python-scipy >= 1.0.1
 Requires:       python-six
 Recommends:     python-Pillow
 Recommends:     python-fastcluster
@@ -81,8 +81,7 @@
   easily build complex visualizations
 
 %prep
-%setup -q -n seaborn-%{version}
-%patch0 -p1
+%autosetup -p1 -n seaborn-%{version}
 
 %build
 %python_build
@@ -92,20 +91,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Exclude TestHeatmap.test_cbar_ticks, which fails in matplotlib 3
-# but doesn't seem to be a serious issue.
-# See https://github.com/mwaskom/seaborn/issues/1571
-# Tests fail due to unicode issues in test suite on python 2.7
-# See: https://github.com/mwaskom/seaborn/issues/1675
-# Exclude TestDendrogram.test_dendrogram_rotate and
-# TestHeatmap.test_heatmap_axes,
-# which fail in matplotlib 3.1.1 due to matplotlib bugs.
-# This should be fixed in the next matplotlib release.
-# See: https://github.com/mwaskom/seaborn/issues/1773
-export PYTHONPATH="%{buildroot}%{python3_sitelib}"
-# Tests broken in numpy 1.18
-# See: https://github.com/mwaskom/seaborn/issues/1917
-# pytest-%{python3_bin_suffix} seaborn -k "not test_cbar_ticks"
+%pytest seaborn
 
 %files %{python_files}
 %license LICENSE

++++++ seaborn-0.9.0.tar.gz -> seaborn-0.10.0.tar.gz ++++++
++++ 7573 lines of diff (skipped)

++++++ use_platform_int.patch ++++++
>From 804c54971abe6926fc8983f355e0293e0c8de9d8 Mon Sep 17 00:00:00 2001
From: Todd <[email protected]>
Date: Fri, 31 Jan 2020 14:49:09 -0500
Subject: [PATCH] Use the correct platform integer type

`np.array.take` requires that the index be the platform integer type (`int32` 
for 32bit and `int64` for 64bit), but `np.random.RandomState.randint` returns 
an `int64` on any platform by default.  This makes sure it returns the right 
type of integer for the current platform.
---
 seaborn/algorithms.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/seaborn/algorithms.py b/seaborn/algorithms.py
index 8a7a590a..794fdbda 100644
--- a/seaborn/algorithms.py
+++ b/seaborn/algorithms.py
@@ -81,7 +81,7 @@ def f(x):
 
     boot_dist = []
     for i in range(int(n_boot)):
-        resampler = integers(0, n, n)
+        resampler = integers(0, n, n, dtype=np.int_)
         sample = [a.take(resampler, axis=0) for a in args]
         boot_dist.append(f(*sample, **func_kwargs))
     return np.array(boot_dist)
@@ -96,10 +96,11 @@ def _structured_bootstrap(args, n_boot, units, func, 
func_kwargs, integers):
 
     boot_dist = []
     for i in range(int(n_boot)):
-        resampler = integers(0, n_units, n_units)
+        resampler = integers(0, n_units, n_units, dtype=np.int_)
         sample = [np.take(a, resampler, axis=0) for a in args]
         lengths = map(len, sample[0])
-        resampler = [integers(0, n, n) for n in lengths]
+        resampler = [integers(0, n, n, dtype=np.int_)
+                     for n in lengths]
         sample = [[c.take(r, axis=0) for c, r in zip(a, resampler)]
                   for a in sample]
         sample = list(map(np.concatenate, sample))

Reply via email to