[Python-modules-team] Bug#906400: pytest-qt: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:21:10 BST 2018
Package: src:pytest-qt
Version: 2.3.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python3.6 setup.py config
running config
/usr/lib/python3/dist-packages/setuptools_scm/version.py:191: UserWarning: meta invoked without explicit configuration, will use defaults where required.
"meta invoked without explicit configuration,"
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python3 setup.py build
running build
[... snipped ...]
tests/test_modeltest.py ............................. [ 32%]
tests/test_qtest_proxies.py ......x..F... [ 37%]
tests/test_wait_signal.py .............................................. [ 51%]
........................................................................ [ 74%]
..................................................s...s............s.... [ 97%]
. [ 98%]
tests/test_wait_until.py ...... [100%]
=================================== FAILURES ===================================
___________________ test_expected_qtest_proxies[mouseEvent] ____________________
qtbot = <pytestqt.qtbot.QtBot object at 0x7f13db7c8e10>
expected_method = 'mouseEvent'
@pytest.mark.parametrize('expected_method', [
'keyPress',
'keyClick',
'keyClicks',
'keyEvent',
'keyPress',
'keyRelease',
fails_on_pyqt('keyToAscii'),
'mouseClick',
'mouseDClick',
'mouseEvent',
'mouseMove',
'mousePress',
'mouseRelease',
],
)
def test_expected_qtest_proxies(qtbot, expected_method):
"""
Ensure that we are exporting expected QTest API methods.
"""
> assert hasattr(qtbot, expected_method)
E AssertionError: assert False
E + where False = hasattr(<pytestqt.qtbot.QtBot object at 0x7f13db7c8e10>, 'mouseEvent')
tests/test_qtest_proxies.py:31: AssertionError
========= 1 failed, 308 passed, 3 skipped, 1 xfailed in 27.97 seconds ==========
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_pytestqt/build; python3.6 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 returned exit code 13
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-qt.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Python-modules-team
mailing list