#2 Update to latest 0.9.0
Merged 5 years ago by sergiopr. Opened 5 years ago by qulogic.
rpms/ qulogic/python-seaborn v0.9.0  into  master

file modified
+1
@@ -2,3 +2,4 @@ 

  /seaborn-0.7.0.tar.gz

  /seaborn-0.7.1.tar.gz

  /seaborn-0.8.1.tar.gz

+ /seaborn-0.9.0.tar.gz

file modified
+14 -9
@@ -1,8 +1,8 @@ 

  %global srcname seaborn

  

  Name: python-%{srcname}

- Version: 0.8.1

- Release: 6%{?dist}

+ Version: 0.9.0

+ Release: 1%{?dist}

  Summary: Statistical data visualization in Python

  License: BSD

  
@@ -31,12 +31,12 @@ 

  BuildRequires: python2-devel python2-setuptools

  BuildRequires: python2-numpy python2-scipy python2-matplotlib python2-pandas

  BuildRequires: python2-six python2-husl

- BuildRequires: python2-nose python2-nose-exclude

+ BuildRequires: python2-nose python2-pytest

  BuildRequires: python2-statsmodels

  

  Requires: python2-numpy python2-scipy python2-matplotlib python2-pandas

  Requires: python2-six python2-husl

- Requires: python2-nose

+ Recommends: python2-nose python2-pytest

  Recommends: python2-statsmodels

  

  %{?python_provide:%python_provide python2-%{srcname}}
@@ -54,12 +54,12 @@ 

  BuildRequires: python3-numpy python3-scipy

  BuildRequires: python3-matplotlib python3-pandas

  BuildRequires: python3-six python3-husl

- BuildRequires: python3-nose python3-nose-exclude

+ BuildRequires: python3-nose python3-pytest

  

  Requires: python3-numpy python3-scipy

  Requires: python3-matplotlib python3-pandas

  Requires: python3-six python3-husl

- Requires: python3-nose

+ Recommends: python3-nose python3-pytest

  Recommends: python3-statsmodels

  

  %{?python_provide:%python_provide python3-%{srcname}}
@@ -93,14 +93,16 @@ 

  touch matplotlib/matplotlibrc

  export XDG_CONFIG_HOME=`pwd`

  pushd %{buildroot}/%{python2_sitelib}

-  # we exclude test_palettes.TestColorPalettes.test_get_color_cycle because the test assumes old matplotlib API

-  nosetests-%{python2_version} -v seaborn --exclude-test=seaborn.tests.test_palettes.TestColorPalettes.test_get_color_cycle

+  pytest-%{python2_version} -v seaborn

+  rm -rf .pytest_cache

  popd

  

  pushd %{buildroot}/%{python3_sitelib}

-  nosetests-%{python3_version} -v seaborn --exclude-test=seaborn.tests.test_palettes.TestColorPalettes.test_get_color_cycle

+  pytest-%{python3_version} -v seaborn

+  rm -rf .pytest_cache

  popd

  

+ 

  %files -n python2-%{srcname}

  %doc README.md

  %license LICENSE
@@ -114,6 +116,9 @@ 

  %{python3_sitelib}/seaborn-%{version}-py%{python3_version}.egg-info

  

  %changelog

+ * Tue Sep 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-1

+ - Update to latest version

+ 

  * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

file modified
+25 -12
@@ -1,12 +1,25 @@ 

- diff -ur seaborn-0.5.0/setup.py seaborn-0.5.0.ex/setup.py

- --- seaborn-0.5.0/setup.py	2014-11-23 18:46:19.249823319 +0100

- +++ seaborn-0.5.0.ex/setup.py	2014-11-23 18:46:07.282723397 +0100

- @@ -75,7 +75,7 @@

-          version=VERSION,

-          download_url=DOWNLOAD_URL,

-          install_requires=install_requires,

- -        packages=['seaborn', 'seaborn.external', 'seaborn.tests'],

- +        packages=['seaborn', 'seaborn.tests'],

-          classifiers=[

-                       'Intended Audience :: Science/Research',

-                       'Programming Language :: Python :: 2.7',

+ From 45b528013894cf97cd8f712c4c44ecb70936d47b Mon Sep 17 00:00:00 2001

+ From: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ Date: Tue, 11 Sep 2018 12:19:07 -0400

+ Subject: [PATCH 3/3] Remove external package.

+ 

+ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ ---

+  setup.py | 1 -

+  1 file changed, 1 deletion(-)

+ 

+ diff --git a/setup.py b/setup.py

+ index ab08643..8689f47 100644

+ --- a/setup.py

+ +++ b/setup.py

+ @@ -38,7 +38,6 @@ INSTALL_REQUIRES = [

+  PACKAGES = [

+      'seaborn',

+      'seaborn.colors',

+ -    'seaborn.external',

+      'seaborn.tests',

+  ]

+  

+ -- 

+ 2.17.1

+ 

file modified
+27 -11
@@ -1,7 +1,19 @@ 

- diff -ur seaborn-0.7.1/seaborn/palettes.py seaborn-0.7.1.husl/seaborn/palettes.py

- --- seaborn-0.7.1/seaborn/palettes.py	2016-07-13 15:02:28.352100373 +0200

- +++ seaborn-0.7.1.husl/seaborn/palettes.py	2016-07-13 15:03:53.258221005 +0200

- @@ -5,7 +5,7 @@

+ From 38e7c979f92366338cb5b3d5abddf517d7154ae3 Mon Sep 17 00:00:00 2001

+ From: Sergio Pascual <sergiopr@fis.ucm.es>

+ Date: Wed, 13 Jul 2016 15:34:45 +0200

+ Subject: [PATCH 2/3] Use external husl.

+ 

+ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ ---

+  seaborn/palettes.py            | 2 +-

+  seaborn/tests/test_palettes.py | 2 +-

+  2 files changed, 2 insertions(+), 2 deletions(-)

+ 

+ diff --git a/seaborn/palettes.py b/seaborn/palettes.py

+ index f971781..417dce4 100644

+ --- a/seaborn/palettes.py

+ +++ b/seaborn/palettes.py

+ @@ -5,7 +5,7 @@ from itertools import cycle

   import numpy as np

   import matplotlib as mpl

   
@@ -10,15 +22,19 @@ 

   from six import string_types

   from six.moves import range

   

- diff -ur seaborn-0.7.1/seaborn/tests/test_palettes.py seaborn-0.7.1.husl/seaborn/tests/test_palettes.py

- --- seaborn-0.7.1/seaborn/tests/test_palettes.py	2016-04-26 18:31:51.000000000 +0200

- +++ seaborn-0.7.1.husl/seaborn/tests/test_palettes.py	2016-07-13 15:04:05.692238671 +0200

- @@ -7,7 +7,7 @@

-  import numpy.testing as npt

+ diff --git a/seaborn/tests/test_palettes.py b/seaborn/tests/test_palettes.py

+ index ead3277..d238c43 100644

+ --- a/seaborn/tests/test_palettes.py

+ +++ b/seaborn/tests/test_palettes.py

+ @@ -8,7 +8,7 @@ import numpy.testing as npt

+  import matplotlib.pyplot as plt

   

   from .. import palettes, utils, rcmod

  -from ..external import husl

  +import husl

-  from ..xkcd_rgb import xkcd_rgb

-  from ..crayons import crayons

+  from ..colors import xkcd_rgb, crayons

   

+  from distutils.version import LooseVersion

+ -- 

+ 2.17.1

+ 

file modified
+97 -52
@@ -1,19 +1,43 @@ 

- diff -ur seaborn-0.8.1/seaborn/algorithms.py seaborn-0.8.1.six/seaborn/algorithms.py

- --- seaborn-0.8.1/seaborn/algorithms.py	2014-10-25 05:08:28.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/algorithms.py	2018-03-08 10:57:08.952446097 +0100

- @@ -2,7 +2,7 @@

-  from __future__ import division

+ From 7f6bca621fb7abf16f5a8a15f4f0f69bcee05140 Mon Sep 17 00:00:00 2001

+ From: Sergio Pascual <sergiopr@fis.ucm.es>

+ Date: Thu, 8 Mar 2018 11:16:08 +0100

+ Subject: [PATCH 1/3] Use external six.

+ 

+ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ ---

+  seaborn/algorithms.py            | 4 ++--

+  seaborn/axisgrid.py              | 2 +-

+  seaborn/categorical.py           | 4 ++--

+  seaborn/matrix.py                | 2 +-

+  seaborn/palettes.py              | 4 ++--

+  seaborn/regression.py            | 2 +-

+  seaborn/relational.py            | 2 +-

+  seaborn/tests/test_algorithms.py | 2 +-

+  seaborn/tests/test_matrix.py     | 2 +-

+  seaborn/timeseries.py            | 2 +-

+  seaborn/utils.py                 | 4 ++--

+  11 files changed, 15 insertions(+), 15 deletions(-)

+ 

+ diff --git a/seaborn/algorithms.py b/seaborn/algorithms.py

+ index 8a7a590..59350d8 100644

+ --- a/seaborn/algorithms.py

+ +++ b/seaborn/algorithms.py

+ @@ -3,8 +3,8 @@ from __future__ import division

   import numpy as np

   from scipy import stats

+  import warnings

+ -from .external.six import string_types

  -from .external.six.moves import range

+ +from six import string_types

  +from six.moves import range

   

   

   def bootstrap(*args, **kwargs):

- diff -ur seaborn-0.8.1/seaborn/axisgrid.py seaborn-0.8.1.six/seaborn/axisgrid.py

- --- seaborn-0.8.1/seaborn/axisgrid.py	2017-09-03 00:54:02.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/axisgrid.py	2018-03-08 10:57:31.693798377 +0100

- @@ -12,7 +12,7 @@

+ diff --git a/seaborn/axisgrid.py b/seaborn/axisgrid.py

+ index ac652e5..ea20d1c 100644

+ --- a/seaborn/axisgrid.py

+ +++ b/seaborn/axisgrid.py

+ @@ -12,7 +12,7 @@ import matplotlib.pyplot as plt

   

   from . import utils

   from .palettes import color_palette, blend_palette
@@ -22,10 +46,11 @@ 

   from .distributions import distplot, kdeplot,  _freedman_diaconis_bins

   

   

- diff -ur seaborn-0.8.1/seaborn/categorical.py seaborn-0.8.1.six/seaborn/categorical.py

- --- seaborn-0.8.1/seaborn/categorical.py	2017-09-03 00:54:02.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/categorical.py	2018-03-08 10:57:46.288024452 +0100

- @@ -10,8 +10,8 @@

+ diff --git a/seaborn/categorical.py b/seaborn/categorical.py

+ index 519e88c..21aa12f 100644

+ --- a/seaborn/categorical.py

+ +++ b/seaborn/categorical.py

+ @@ -10,8 +10,8 @@ import matplotlib.patches as Patches

   import matplotlib.pyplot as plt

   import warnings

   
@@ -36,10 +61,11 @@ 

   

   from . import utils

   from .utils import iqr, categorical_order, remove_na

- diff -ur seaborn-0.8.1/seaborn/matrix.py seaborn-0.8.1.six/seaborn/matrix.py

- --- seaborn-0.8.1/seaborn/matrix.py	2017-09-03 00:54:02.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/matrix.py	2018-03-08 10:57:57.648200429 +0100

- @@ -16,7 +16,7 @@

+ diff --git a/seaborn/matrix.py b/seaborn/matrix.py

+ index 288702a..3198cb4 100644

+ --- a/seaborn/matrix.py

+ +++ b/seaborn/matrix.py

+ @@ -15,7 +15,7 @@ from .axisgrid import Grid

   from .utils import (despine, axis_ticklabels_overlap, relative_luminance,

                       to_utf8)

   
@@ -48,10 +74,11 @@ 

   

   

   __all__ = ["heatmap", "clustermap"]

- diff -ur seaborn-0.8.1/seaborn/palettes.py seaborn-0.8.1.six/seaborn/palettes.py

- --- seaborn-0.8.1/seaborn/palettes.py	2017-07-07 23:08:37.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/palettes.py	2018-03-08 10:59:08.865303633 +0100

- @@ -6,8 +6,8 @@

+ diff --git a/seaborn/palettes.py b/seaborn/palettes.py

+ index b35a105..f971781 100644

+ --- a/seaborn/palettes.py

+ +++ b/seaborn/palettes.py

+ @@ -6,8 +6,8 @@ import numpy as np

   import matplotlib as mpl

   

   from .external import husl
@@ -61,37 +88,50 @@ 

  +from six.moves import range

   

   from .utils import desaturate, set_hls_values, get_color_cycle

-  from .xkcd_rgb import xkcd_rgb

- diff -ur seaborn-0.8.1/seaborn/regression.py seaborn-0.8.1.six/seaborn/regression.py

- --- seaborn-0.8.1/seaborn/regression.py	2017-07-07 23:08:37.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/regression.py	2018-03-08 11:00:04.914171871 +0100

- @@ -18,8 +18,8 @@

+  from .colors import xkcd_rgb, crayons

+ diff --git a/seaborn/regression.py b/seaborn/regression.py

+ index 1485eb8..563d72f 100644

+ --- a/seaborn/regression.py

+ +++ b/seaborn/regression.py

+ @@ -16,7 +16,7 @@ try:

   except ImportError:

       _has_statsmodels = False

   

  -from .external.six import string_types

- -from .external.six.moves import range

  +from six import string_types

- +from six.moves import range

   

   from . import utils

   from . import algorithms as algo

- diff -ur seaborn-0.8.1/seaborn/tests/test_algorithms.py seaborn-0.8.1.six/seaborn/tests/test_algorithms.py

- --- seaborn-0.8.1/seaborn/tests/test_algorithms.py	2014-10-25 05:08:29.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/tests/test_algorithms.py	2018-03-08 10:59:39.704781359 +0100

- @@ -1,6 +1,6 @@

+ diff --git a/seaborn/relational.py b/seaborn/relational.py

+ index ccfc257..63bb018 100644

+ --- a/seaborn/relational.py

+ +++ b/seaborn/relational.py

+ @@ -8,7 +8,7 @@ import pandas as pd

+  import matplotlib as mpl

+  import matplotlib.pyplot as plt

+  

+ -from .external.six import string_types

+ +from six import string_types

+  

+  from . import utils

+  from .utils import (categorical_order, get_color_cycle, ci_to_errsize, sort_df,

+ diff --git a/seaborn/tests/test_algorithms.py b/seaborn/tests/test_algorithms.py

+ index 1beede9..5e3a5b1 100644

+ --- a/seaborn/tests/test_algorithms.py

+ +++ b/seaborn/tests/test_algorithms.py

+ @@ -1,5 +1,5 @@

   import numpy as np

-  from scipy import stats

  -from ..external.six.moves import range

  +from six.moves import range

   

-  import numpy.testing as npt

   from numpy.testing import assert_array_equal

- diff -ur seaborn-0.8.1/seaborn/tests/test_matrix.py seaborn-0.8.1.six/seaborn/tests/test_matrix.py

- --- seaborn-0.8.1/seaborn/tests/test_matrix.py	2017-09-03 00:54:02.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/tests/test_matrix.py	2018-03-08 10:59:27.937599077 +0100

- @@ -19,7 +19,7 @@

-  from . import PlotTestCase

+  import pytest

+ diff --git a/seaborn/tests/test_matrix.py b/seaborn/tests/test_matrix.py

+ index 0bf1a0c..8f52941 100644

+ --- a/seaborn/tests/test_matrix.py

+ +++ b/seaborn/tests/test_matrix.py

+ @@ -18,7 +18,7 @@ from numpy.testing.decorators import skipif

+  

   from .. import matrix as mat

   from .. import color_palette

  -from ..external.six.moves import range
@@ -99,10 +139,11 @@ 

   

   try:

       import fastcluster

- diff -ur seaborn-0.8.1/seaborn/timeseries.py seaborn-0.8.1.six/seaborn/timeseries.py

- --- seaborn-0.8.1/seaborn/timeseries.py	2017-07-07 23:08:37.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/timeseries.py	2018-03-08 11:00:39.954714674 +0100

- @@ -8,7 +8,7 @@

+ diff --git a/seaborn/timeseries.py b/seaborn/timeseries.py

+ index a3b25bf..5381902 100644

+ --- a/seaborn/timeseries.py

+ +++ b/seaborn/timeseries.py

+ @@ -8,7 +8,7 @@ import matplotlib.pyplot as plt

   

   import warnings

   
@@ -111,17 +152,21 @@ 

   

   from . import utils

   from . import algorithms as algo

- diff -ur seaborn-0.8.1/seaborn/utils.py seaborn-0.8.1.six/seaborn/utils.py

- --- seaborn-0.8.1/seaborn/utils.py	2017-09-03 00:54:02.000000000 +0200

- +++ seaborn-0.8.1.six/seaborn/utils.py	2018-03-08 11:00:23.226455541 +0100

- @@ -13,8 +13,8 @@

-  from distutils.version import LooseVersion

-  pandas_has_categoricals = LooseVersion(pd.__version__) >= "0.15"

-  mpl_ge_150 = LooseVersion(mpl.__version__) >= "1.5.0"

+ diff --git a/seaborn/utils.py b/seaborn/utils.py

+ index defae8c..9509ab9 100644

+ --- a/seaborn/utils.py

+ +++ b/seaborn/utils.py

+ @@ -10,8 +10,8 @@ import matplotlib as mpl

+  import matplotlib.colors as mplcol

+  import matplotlib.pyplot as plt

+  

  -from .external.six.moves.urllib.request import urlopen, urlretrieve

  -from .external.six.moves.http_client import HTTPException

  +from six.moves.urllib.request import urlopen, urlretrieve

  +from six.moves.http_client import HTTPException

   

-  

-  __all__ = ["desaturate", "saturate", "set_hls_values",

+  from distutils.version import LooseVersion

+  pandas_has_categoricals = LooseVersion(pd.__version__) >= "0.15"

+ -- 

+ 2.17.1

+ 

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (seaborn-0.8.1.tar.gz) = 05ed621c2624b4b981118f9e6100f593ab23620e8f86c82b55a298944135f3286798d5cdc6c215c134f2fdecf9b3a7631be8c5136c0dafaf1f97f05f7c6739d7

+ SHA512 (seaborn-0.9.0.tar.gz) = 01cc9a8e80102eed6a35be8ef2c3357d1f5eee53004887a5e0eb1f4dcf696987e19b9e371e95fad01fff60042ad5a2873a6d265a43cb506172a50ecd5ba55b3b