Package: pyside2 Followup-For: Bug #950127 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu focal ubuntu-patch
These tests fail because the test dependencies are always buggy when there is more than one supported version of python in the archive; the tests invoke py3versions to enumerate the versions of python to test against, but there is no test dependency on python3-all, so no version of python other than the default python3 is guaranteed to be installed. The attached patch should fix this; I've uploaded this change to Ubuntu. Please consider including it in Debian as well. -- 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 pyside2-5.14.0/debian/control pyside2-5.14.0/debian/control --- pyside2-5.14.0/debian/control 2020-02-10 16:13:30.000000000 -0800 +++ pyside2-5.14.0/debian/control 2020-02-17 16:43:21.000000000 -0800 @@ -1,8 +1,7 @@ Source: pyside2 Section: python Priority: optional -Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> -XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> +Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Uploaders: Sophie Brun <sop...@freexian.com>, Raphaƫl Hertzog <hert...@debian.org>, Sebastien Delafond <s...@debian.org> diff -Nru pyside2-5.14.0/debian/tests/control pyside2-5.14.0/debian/tests/control --- pyside2-5.14.0/debian/tests/control 2020-02-10 16:13:08.000000000 -0800 +++ pyside2-5.14.0/debian/tests/control 2020-02-17 16:43:21.000000000 -0800 @@ -1,156 +1,156 @@ Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcore PySide2.QtCore -Depends: python3-pyside2.qtcore +Depends: python3-pyside2.qtcore, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwidgets PySide2.QtWidgets -Depends: python3-pyside2.qtwidgets +Depends: python3-pyside2.qtwidgets, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3drender PySide2.Qt3DRender -Depends: python3-pyside2.qt3drender +Depends: python3-pyside2.qt3drender, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquick PySide2.QtQuick -Depends: python3-pyside2.qtquick +Depends: python3-pyside2.qtquick, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtpositioning PySide2.QtPositioning -Depends: python3-pyside2.qtpositioning +Depends: python3-pyside2.qtpositioning, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtx11extras PySide2.QtX11Extras -Depends: python3-pyside2.qtx11extras +Depends: python3-pyside2.qtx11extras, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtqml PySide2.QtQml -Depends: python3-pyside2.qtqml +Depends: python3-pyside2.qtqml, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginecore PySide2.QtWebEngineCore -Depends: python3-pyside2.qtwebenginecore +Depends: python3-pyside2.qtwebenginecore, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttexttospeech PySide2.QtTextToSpeech -Depends: python3-pyside2.qttexttospeech +Depends: python3-pyside2.qttexttospeech, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qthelp PySide2.QtHelp -Depends: python3-pyside2.qthelp +Depends: python3-pyside2.qthelp, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscripttools PySide2.QtScriptTools -Depends: python3-pyside2.qtscripttools +Depends: python3-pyside2.qtscripttools, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtnetwork PySide2.QtNetwork -Depends: python3-pyside2.qtnetwork +Depends: python3-pyside2.qtnetwork, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimediawidgets PySide2.QtMultimediaWidgets -Depends: python3-pyside2.qtmultimediawidgets +Depends: python3-pyside2.qtmultimediawidgets, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtlocation PySide2.QtLocation -Depends: python3-pyside2.qtlocation +Depends: python3-pyside2.qtlocation, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dlogic PySide2.Qt3DLogic -Depends: python3-pyside2.qt3dlogic +Depends: python3-pyside2.qt3dlogic, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsensors PySide2.QtSensors -Depends: python3-pyside2.qtsensors +Depends: python3-pyside2.qtsensors, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimedia PySide2.QtMultimedia -Depends: python3-pyside2.qtmultimedia +Depends: python3-pyside2.qtmultimedia, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscript PySide2.QtScript -Depends: python3-pyside2.qtscript +Depends: python3-pyside2.qtscript, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebchannel PySide2.QtWebChannel -Depends: python3-pyside2.qtwebchannel +Depends: python3-pyside2.qtwebchannel, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtprintsupport PySide2.QtPrintSupport -Depends: python3-pyside2.qtprintsupport +Depends: python3-pyside2.qtprintsupport, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquickwidgets PySide2.QtQuickWidgets -Depends: python3-pyside2.qtquickwidgets +Depends: python3-pyside2.qtquickwidgets, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dinput PySide2.Qt3DInput -Depends: python3-pyside2.qt3dinput +Depends: python3-pyside2.qt3dinput, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxml PySide2.QtXml -Depends: python3-pyside2.qtxml +Depends: python3-pyside2.qtxml, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttest PySide2.QtTest -Depends: python3-pyside2.qttest +Depends: python3-pyside2.qttest, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginewidgets PySide2.QtWebEngineWidgets -Depends: python3-pyside2.qtwebenginewidgets +Depends: python3-pyside2.qtwebenginewidgets, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtconcurrent PySide2.QtConcurrent -Depends: python3-pyside2.qtconcurrent +Depends: python3-pyside2.qtconcurrent, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxmlpatterns PySide2.QtXmlPatterns -Depends: python3-pyside2.qtxmlpatterns +Depends: python3-pyside2.qtxmlpatterns, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcharts PySide2.QtCharts -Depends: python3-pyside2.qtcharts +Depends: python3-pyside2.qtcharts, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtuitools PySide2.QtUiTools -Depends: python3-pyside2.qtuitools +Depends: python3-pyside2.qtuitools, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopengl PySide2.QtOpenGL -Depends: python3-pyside2.qtopengl +Depends: python3-pyside2.qtopengl, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dcore PySide2.Qt3DCore -Depends: python3-pyside2.qt3dcore +Depends: python3-pyside2.qt3dcore, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsql PySide2.QtSql -Depends: python3-pyside2.qtsql +Depends: python3-pyside2.qtsql, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtgui PySide2.QtGui -Depends: python3-pyside2.qtgui +Depends: python3-pyside2.qtgui, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsvg PySide2.QtSvg -Depends: python3-pyside2.qtsvg +Depends: python3-pyside2.qtsvg, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebsockets PySide2.QtWebSockets -Depends: python3-pyside2.qtwebsockets +Depends: python3-pyside2.qtwebsockets, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtdatavisualization PySide2.QtDataVisualization -Depends: python3-pyside2.qtdatavisualization +Depends: python3-pyside2.qtdatavisualization, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopenglfunctions PySide2.QtOpenGLFunctions -Depends: python3-pyside2.qtopenglfunctions +Depends: python3-pyside2.qtopenglfunctions, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscxml PySide2.QtScxml -Depends: python3-pyside2.qtscxml +Depends: python3-pyside2.qtscxml, python3-all Restrictions: allow-stderr, superficial Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebengine PySide2.QtWebEngine -Depends: python3-pyside2.qtwebengine +Depends: python3-pyside2.qtwebengine, python3-all Restrictions: allow-stderr, superficial diff -Nru pyside2-5.14.0/debian/tests/control.gen pyside2-5.14.0/debian/tests/control.gen --- pyside2-5.14.0/debian/tests/control.gen 2020-02-10 16:13:23.000000000 -0800 +++ pyside2-5.14.0/debian/tests/control.gen 2020-02-17 16:43:03.000000000 -0800 @@ -9,7 +9,7 @@ # find import_name import_name=$(find sources/pyside2/PySide2/ -maxdepth 1 -type d| xargs -n 1 basename|grep -i ^$module_name$) echo "Test-Command: debian/tests/test_install_python3.sh $binary_package PySide2.$import_name -Depends: $binary_package +Depends: $binary_package, python3-all Restrictions: allow-stderr, superficial " >>debian/tests/control done