[Python-modules-team] Bug#864693: pytest-qt: Fix test dep for the case of multiple supported python3 versions

Steve Langasek steve.langasek at canonical.com
Mon Jun 12 23:11:29 UTC 2017


Package: pytest-qt
Version: 2.1.0-2
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hi Ghislain,

In Ubuntu, we've begun the transition from python3.5 to python3.6, which in
the first stages involves enabling python3.6 as a non-default, supported
python3 version.

The pytest-qt package's autopkgtests will iterate over all supported python3
interpreters, but they don't depend on python3-all to guarantee that these
interpreters are installed on the system.

I have uploaded the attached simple patch to Ubuntu to address this.  Please
consider applying it in Debian as well.

Thanks,
-- 
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 pytest-qt-2.1.0/debian/tests/control pytest-qt-2.1.0/debian/tests/control
--- pytest-qt-2.1.0/debian/tests/control	2017-02-22 13:59:46.000000000 -0800
+++ pytest-qt-2.1.0/debian/tests/control	2017-06-12 15:58:26.000000000 -0700
@@ -5,7 +5,7 @@
  ; echo "Testing with $py:"
  ; PYTEST_QT_API=pyqt5 xvfb-run $py -m pytest tests
  ; done
-Depends: python3-pyqt5, python3-pytestqt, xauth, xvfb
+Depends: python3-pyqt5, python3-pytestqt, python3-all, xauth, xvfb
 
 Test-Command: set -e
  ; cp -a tests "$AUTOPKGTEST_TMP"
@@ -14,7 +14,7 @@
  ; echo "Testing with $py:"
  ; PYTEST_QT_API=pyside xvfb-run $py -m pytest tests
  ; done
-Depends: python3-pyside, python3-pytestqt, xauth, xvfb
+Depends: python3-pyside, python3-pytestqt, python3-all, xauth, xvfb
 
 Test-Command: set -e
  ; cp -a tests "$AUTOPKGTEST_TMP"
@@ -23,4 +23,4 @@
  ; echo "Testing with $py:"
  ; PYTEST_QT_API=pyqt4 xvfb-run $py -m pytest tests
  ; done
-Depends: python3-pyqt4, python3-pytestqt, xauth, xvfb
+Depends: python3-pyqt4, python3-pytestqt, python3-all, xauth, xvfb


More information about the Python-modules-team mailing list