Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package python-qtpy

Santiago Vila reported intermitent FTBFS issues with python-qtpy in the
reproducible builds [1, 2]. After several failed attempts at finding a
fix for this problem, we agreed to temporarily stop running the tests at
package build time (but leave the DEP-8 tests running).

Please consider allowing this update to migrate to Stretch. The
corresponding debdiff will be attached to this email.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854496
[2] 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-qtpy.html

Cheers,
Ghis

unblock python-qtpy/1.2.1-2

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-qtpy-1.2.1/debian/changelog python-qtpy-1.2.1/debian/changelog
--- python-qtpy-1.2.1/debian/changelog  2017-01-22 08:09:05.000000000 +0000
+++ python-qtpy-1.2.1/debian/changelog  2017-03-14 13:45:24.000000000 +0000
@@ -1,3 +1,14 @@
+python-qtpy (1.2.1-2) unstable; urgency=medium
+
+  * Run autopkgtests for all supported Python versions
+  * Temporarily disable testing at package build time
+    - Drop b-deps required for testing
+    - Disable testing stage in pybuild
+    - Drop use of dh_auto_test override
+    Thanks to Santiago Vila for investigating (Closes: #854496)
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Tue, 14 Mar 2017 13:45:24 
+0000
+
 python-qtpy (1.2.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru python-qtpy-1.2.1/debian/control python-qtpy-1.2.1/debian/control
--- python-qtpy-1.2.1/debian/control    2017-01-22 08:09:05.000000000 +0000
+++ python-qtpy-1.2.1/debian/control    2017-03-14 13:45:24.000000000 +0000
@@ -5,23 +5,10 @@
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
-               dpkg-dev (>= 1.17.14),
                python-all,
-               python-pyqt5 <!nocheck>,
-               python-pyqt5.qtmultimedia <!nocheck>,
-               python-pyqt5.qtsvg <!nocheck>,
-               python-pyqt5.qtwebkit <!nocheck>,
-               python-pytest <!nocheck>,
                python-setuptools,
                python3-all,
-               python3-pyqt5 <!nocheck>,
-               python3-pyqt5.qtmultimedia <!nocheck>,
-               python3-pyqt5.qtsvg <!nocheck>,
-               python3-pyqt5.qtwebkit <!nocheck>,
-               python3-pytest <!nocheck>,
-               python3-setuptools,
-               xauth <!nocheck>,
-               xvfb <!nocheck>
+               python3-setuptools
 Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/python-modules/packages/python-qtpy.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-qtpy.git
diff -Nru python-qtpy-1.2.1/debian/rules python-qtpy-1.2.1/debian/rules
--- python-qtpy-1.2.1/debian/rules      2017-01-22 08:09:05.000000000 +0000
+++ python-qtpy-1.2.1/debian/rules      2017-03-14 13:45:24.000000000 +0000
@@ -4,13 +4,8 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME = qtpy
-export PYBUILD_BEFORE_TEST = cp -r {dir}/qtpy/tests {build_dir}
-export PYBUILD_AFTER_TEST = rm -r {build_dir}/tests
+# Testing is temporarily disabled for Stretch, see #854496.
+export PYBUILD_DISABLE = test
 
 %:
        dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
-       xvfb-run dh_auto_test
-endif
diff -Nru python-qtpy-1.2.1/debian/tests/control 
python-qtpy-1.2.1/debian/tests/control
--- python-qtpy-1.2.1/debian/tests/control      2017-01-22 08:09:05.000000000 
+0000
+++ python-qtpy-1.2.1/debian/tests/control      2017-03-14 13:45:24.000000000 
+0000
@@ -1,5 +1,25 @@
-Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; 
xvfb-run py.test
-Depends: python-qtpy, python-pytest, xauth, xvfb
+Test-Command: set -e
+ ; cp -r qtpy/tests "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a $py -m pytest -v
+ ; done
+Depends: python-all,
+         python-qtpy,
+         python-pytest,
+         xauth,
+         xvfb
 
-Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; 
xvfb-run py.test-3
-Depends: python3-qtpy, python3-pytest, xauth, xvfb
+Test-Command: set -e
+ ; cp -r qtpy/tests "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a $py -m pytest -v
+ ; done
+Depends: python3-all,
+         python3-qtpy,
+         python3-pytest,
+         xauth,
+         xvfb

Reply via email to