Hello Ondřej Nový. Thanks for updating the python-docker package in pkg-python git. Last time we spoke on IRC you seemed to suggest that fixing the autopkgtest was the final blocker for having the updated package uploaded.
Attached you'll find a patch to fix the autopkgtest for the current python-docker git state. Please note: - the autopkgtest is already broken in the package in the archive. - the Restrictions: in debian/tests/control seems pretty bogusly made up - autopkgtest building a debian-based qemu image is broken, so this has been tested on ubuntu cloud image yakkety. (And ofcourse because of the machine-isolation restriction qemu is the only option.) - the machine-isolation restriction seems to make ci.debian.net skip running the test, thus showing the current python-docker package as "success" when it's really failing. Would be great if we could see the new version in the archive soon. Thanks in advance. Regards, Andreas Henriksson
>From 835cfa90316c9243e5ee45bad521763e94a12066 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson <[email protected]> Date: Thu, 6 Oct 2016 16:53:22 +0200 Subject: [PATCH] autopkgtest: fix running of integration test The tests/integration_test.py file has been removed upstream several versions ago. It's been replaced by the tests/integration/ module. Also add python-backports.ssl-match-hostname to test dependencies as that's needed by the new integration tests. --- debian/changelog | 4 ++++ debian/tests/control | 2 +- debian/tests/integration | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f546ec3..c283ca0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ python-docker (1.9.0-1) UNRELEASED; urgency=medium + [ Ondřej Nový ] * New upstream release (Closes: #830172) * Dropped d/p/0002-Lower-Docker-API-version-to-1.20-for-Docker-1.8.3-co.patch @@ -7,6 +8,9 @@ python-docker (1.9.0-1) UNRELEASED; urgency=medium * Bump required version of python3-websocket to 0.32.0 * Standards-Version is 3.9.8 now (no change) + [ Andreas Henriksson ] + * autopkgtest: fix running of integration test + -- Ondřej Nový <[email protected]> Thu, 08 Sep 2016 14:30:01 +0200 python-docker (1.7.2-1) unstable; urgency=medium diff --git a/debian/tests/control b/debian/tests/control index 7a0072b..3b02db1 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ Tests: integration -Depends: docker.io, python-mock, python-pytest, python3-mock, python3-pytest, @ +Depends: docker.io, python-mock, python-pytest, python3-mock, python3-pytest, python-backports.ssl-match-hostname, @ Restrictions: isolation-machine needs-root diff --git a/debian/tests/integration b/debian/tests/integration index 120a2aa..156b4e7 100755 --- a/debian/tests/integration +++ b/debian/tests/integration @@ -1,5 +1,5 @@ #!/bin/bash set -e -py.test-3 tests/integration_test.py -py.test tests/integration_test.py +py.test-3 tests/integration/ +py.test tests/integration/ -- 2.9.3

