Package: seaborn
Version: 0.9.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch

Dear maintainers,

As you may know, we are in the process of deprecating python2 in Debian for
the next release.  In Ubuntu, I've identified that it may be useful to
accelerate this deprecation for pandas and its reverse-dependencies, because
the pandas tests appear to have bit-rotted for python2 on one architecture,
and it would be better to remove the python2 bits rather than invest in
fixing them.

seaborn is a package that (build-)depends on python-pandas, so I've gone
ahead and uploaded the attached patch to Ubuntu which drops the python2
module.  python-seaborn has two reverse-dependencies, of poretools and
sphinx-gallery, which should also be fixed before this change is made in
Debian.  I've already dropped their dependencies on python-seaborn in
Ubuntu, and filed bugs in Debian.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru seaborn-0.9.0/debian/control seaborn-0.9.0/debian/control
--- seaborn-0.9.0/debian/control        2019-01-22 23:16:03.000000000 -0800
+++ seaborn-0.9.0/debian/control        2019-08-15 12:48:54.000000000 -0700
@@ -7,27 +7,17 @@
 Priority: optional
 Build-Depends: debhelper (>= 12~),
                dh-python,
-               python-setuptools,
                python3-setuptools,
-               python-all,
                python3-all,
-               python-nose,
                python3-nose,
                xvfb,
                xauth,
-               python-numpy,
-               python-scipy,
-               python-pandas,
-               python-matplotlib,
-               python-tk,
-               python-statsmodels,
-               python-patsy,
-               python-pytest,
                python3-numpy,
                python3-scipy,
                python3-pandas,
-               python3-matplotlib | python-matplotlib (<< 1.2.0~),
+               python3-matplotlib,
                python3-tk,
+               python3-statsmodels,
                python3-patsy,
                python3-pytest
 Standards-Version: 4.3.0
@@ -35,42 +25,6 @@
 Vcs-Git: https://salsa.debian.org/science-team/seaborn.git
 Homepage: https://github.com/mwaskom/seaborn
 
-Package: python-seaborn
-Architecture: all
-Depends: ${misc:Depends},
-         ${python:Depends},
-         python-numpy,
-         python-scipy,
-         python-pandas,
-         python-matplotlib,
-         python-tk
-Recommends: python-statsmodels,
-            python-patsy,
-            python-bs4
-Description: statistical visualization library for Python
- Seaborn is a library for making attractive and informative
- statistical graphics in Python. It is built on top of matplotlib and
- tightly integrated with the PyData stack, including support for numpy
- and pandas data structures and statistical routines from scipy and
- statsmodels.
- .
- Some of the features that seaborn offers are
- .
-  - Several built-in themes that improve on the default matplotlib
-    aesthetics
-  - Tools for choosing color palettes to make beautiful plots that
-    reveal patterns in your data
-  - Functions for visualizing univariate and bivariate distributions
-    or for comparing them between subsets of data
-  - Tools that fit and visualize linear regression models for different
-    kinds of independent and dependent variables
-  - A function to plot statistical timeseries data with flexible estimation
-    and representation of uncertainty around the estimate
-  - High-level abstractions for structuring grids of plots that let you
-    easily build complex visualizations
- .
- This is the Python 2 version of the package.
-
 Package: python3-seaborn
 Architecture: all
 Depends: ${misc:Depends},
diff -Nru seaborn-0.9.0/debian/rules seaborn-0.9.0/debian/rules
--- seaborn-0.9.0/debian/rules  2019-01-22 23:16:03.000000000 -0800
+++ seaborn-0.9.0/debian/rules  2019-08-15 12:48:54.000000000 -0700
@@ -11,7 +11,7 @@
 export  https_proxy=http://127.0.0.1:9/
 
 %:
-       dh $@ --with python2,python3 --buildsystem=pybuild
+       dh $@ --with python3 --buildsystem=pybuild
 
 # Assure Agg backend for matplotlib to avoid any possible complication
 # and failed unittests, as in #802412
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to