Package: influxdb-python
Version: 5.2.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch

Hi Alexandre,

As you may know, we 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.

influxdb-python build-depends on python-pandas, and is a leaf package with
no python2 reverse dependencies, so I've gone ahead and uploaded the
attached patch to Ubuntu which drops the python2 module.  It should be
possible to upload this change to Debian at your convenience.

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 influxdb-python-5.2.0/debian/control 
influxdb-python-5.2.0/debian/control
--- influxdb-python-5.2.0/debian/control        2018-08-28 09:44:31.000000000 
-0700
+++ influxdb-python-5.2.0/debian/control        2019-08-21 16:27:58.000000000 
-0700
@@ -4,17 +4,9 @@
 Maintainer: Alexandre Viau <av...@debian.org>
 Build-Depends: debhelper (>= 9),
                dh-python,
-               python-all,
-               python-setuptools,
                python3-all,
                python3-setuptools
-Build-Depends-Indep: python-requests (>= 1.0.3),
-                     python-mock,
-                     python-requests-mock (>= 0.5.1),
-                     python-six (>= 0.1.9),
-                     python-nose,
-                     python-pandas,
-                     python3-requests,
+Build-Depends-Indep: python3-requests,
                      python3-mock,
                      python3-requests-mock (>= 0.5.1),
                      python3-six (>= 0.1.9),
@@ -26,20 +18,6 @@
 Homepage: https://pypi.python.org/pypi/influxdb
 Testsuite: autopkgtest-pkg-python
 
-Package: python-influxdb
-Architecture: all
-Depends: ${misc:Depends},
-         ${python:Depends},
-         python-requests (>= 1.0.3),
-         python-six (>= 0.1.9)
-Description: Client for InfluxDB - Python 2.7
- API bindings for InfluxDB. Supports both InfluxDB v0.8 and InfluxDB >= 0.9.
- InfluxDB is an open source distributed time series database with no external
- dependencies. It's useful for recording metrics, events, and performing
- analytics.
- .
- This package contains the Python 2.7 module.
-
 Package: python3-influxdb
 Architecture: all
 Depends: ${misc:Depends},
diff -Nru influxdb-python-5.2.0/debian/python-influxdb.pyremove 
influxdb-python-5.2.0/debian/python-influxdb.pyremove
--- influxdb-python-5.2.0/debian/python-influxdb.pyremove       2018-08-28 
09:44:31.000000000 -0700
+++ influxdb-python-5.2.0/debian/python-influxdb.pyremove       1969-12-31 
16:00:00.000000000 -0800
@@ -1 +0,0 @@
-influxdb*.egg-info/SOURCES.txt
diff -Nru influxdb-python-5.2.0/debian/rules influxdb-python-5.2.0/debian/rules
--- influxdb-python-5.2.0/debian/rules  2018-08-28 09:44:31.000000000 -0700
+++ influxdb-python-5.2.0/debian/rules  2019-08-21 16:27:44.000000000 -0700
@@ -7,4 +7,4 @@
 export INFLUXDB_PYTHON_SKIP_SERVER_TESTS=True
 
 %:
-       dh $@ --with python2,python3 --buildsystem=pybuild
+       dh $@ --with python3 --buildsystem=pybuild

Reply via email to