[Pkg-postgresql-public] Bug#879897: postgresql-multicorn: python{, 3}-all-dev as test deps

Steve Langasek steve.langasek at canonical.com
Fri Oct 27 03:55:39 UTC 2017


Package: postgresql-multicorn
Version: 1.3.3-5
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear maintainers,

I noticed during the python3.6 migration in Ubuntu that postgresql-multicorn
failed its autopkgtests, because while there were multiple supported
versions of python3 (3.5, 3.6), 3.6 was not available at test time.

The attached patch addresses this by making the tests depend on the
corresponding python*-all-dev package.

Apologies for not submitting this patch in time to matter for the python3.6
transition in Debian, but it's still a correct change that will be
applicable for the next python3 transition.

Cheers,
-- 
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                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru postgresql-multicorn-1.3.3/debian/tests/control postgresql-multicorn-1.3.3/debian/tests/control
--- postgresql-multicorn-1.3.3/debian/tests/control	2017-10-22 06:22:35.000000000 -0700
+++ postgresql-multicorn-1.3.3/debian/tests/control	2017-10-26 20:46:48.000000000 -0700
@@ -1,7 +1,7 @@
-Depends: newpid, postgresql-10-python-multicorn, python-psycopg2, python-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-10, postgresql-plpython-10
+Depends: newpid, postgresql-9.6-python-multicorn, python-psycopg2, python-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-9.6, postgresql-plpython-9.6, python-all-dev
 Test-Command: debian/tests/installcheck python2
 Restrictions: needs-root allow-stderr
 
-Depends: newpid, postgresql-10-python3-multicorn, python3-psycopg2, python3-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-10, postgresql-plpython3-10
+Depends: newpid, postgresql-9.6-python3-multicorn, python3-psycopg2, python3-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-9.6, postgresql-plpython3-9.6, python3-all-dev
 Test-Command: debian/tests/installcheck python3
 Restrictions: needs-root allow-stderr
diff -Nru postgresql-multicorn-1.3.3/debian/tests/control.in postgresql-multicorn-1.3.3/debian/tests/control.in
--- postgresql-multicorn-1.3.3/debian/tests/control.in	2017-10-21 02:57:09.000000000 -0700
+++ postgresql-multicorn-1.3.3/debian/tests/control.in	2017-10-26 20:46:48.000000000 -0700
@@ -1,7 +1,7 @@
-Depends: newpid, postgresql-PGVERSION-python-multicorn, python-psycopg2, python-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-PGVERSION, postgresql-plpython-PGVERSION
+Depends: newpid, postgresql-PGVERSION-python-multicorn, python-psycopg2, python-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-PGVERSION, postgresql-plpython-PGVERSION, python-all-dev
 Test-Command: debian/tests/installcheck python2
 Restrictions: needs-root allow-stderr
 
-Depends: newpid, postgresql-PGVERSION-python3-multicorn, python3-psycopg2, python3-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-PGVERSION, postgresql-plpython3-PGVERSION
+Depends: newpid, postgresql-PGVERSION-python3-multicorn, python3-psycopg2, python3-sqlalchemy, postgresql-server-dev-all (>= 156~), postgresql-common (>= 159~), postgresql-contrib-PGVERSION, postgresql-plpython3-PGVERSION, python3-all-dev
 Test-Command: debian/tests/installcheck python3
 Restrictions: needs-root allow-stderr


More information about the Pkg-postgresql-public mailing list