Bug#904188: spyder-line-profiler: autopkgtest times out with python3.7

Paul Gevers elbrus at debian.org
Sat Jul 21 11:05:43 BST 2018


Source: spyder-line-profiler
Version: 0.1.1-1
User: debian-ci at lists.debian.org
Usertags: needs-update

Dear Debian Science Maintainers,

Currently the python3.7 transition¹ is going on, which means that
python3.7 is added to the supported python3 versions. Your test has an
internal time out that gets triggered when the test runs with Python3.7.
I copied the error below.

Could you please investigate? This may point to more severe issues with
your package and Python 3.7.

Paul

¹ https://release.debian.org/transitions/html/python3.7.html

https://ci.debian.net/data/autopkgtest/testing/amd64/s/spyder-line-profiler/644568/log.gz

autopkgtest [04:37:05]: test command1: [-----------------------
Testing with python3.7:
============================= test session starts
==============================
platform linux -- Python 3.7.0, pytest-3.6.2, py-1.5.3, pluggy-0.6.0 --
/usr/bin/python3.7
cachedir: .pytest_cache
PyQt5 5.11.2 -- Qt runtime 5.10.1 -- Qt compiled 5.10.1
rootdir: /tmp/autopkgtest-lxc.p_vezcnr/downtmp/autopkgtest_tmp, inifile:
plugins: xvfb-1.0.0, qt-2.3.1
collecting ... collected 1 item

spyder_line_profiler/widgets/tests/test_lineprofiler.py::test_profile_and_display_results
<-
../../../../usr/lib/python3/dist-packages/spyder_line_profiler/widgets/tests/test_lineprofiler.py
FAILED [100%]

=================================== FAILURES
===================================
_______________________ test_profile_and_display_results
_______________________

qtbot = <pytestqt.qtbot.QtBot object at 0x7fe89e2319e8>
tmpdir =
local('/tmp/pytest-of-debci/pytest-0/test_profile_and_display_resul0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe89e231a58>

    def test_profile_and_display_results(qtbot, tmpdir, monkeypatch):
        """Run profiler on simple script and check that results are okay."""
        os.chdir(tmpdir.strpath)
        testfilename = tmpdir.join('test_foo.py').strpath

        with open(testfilename, 'w') as f:
            f.write(TEST_SCRIPT)

        MockQMessageBox = Mock()

monkeypatch.setattr('spyder_line_profiler.widgets.lineprofiler.QMessageBox',
                            MockQMessageBox)

        widget = LineProfilerWidget(None)
        qtbot.addWidget(widget)
        with qtbot.waitSignal(widget.sig_finished, timeout=10000,
raising=True):
>           widget.analyze(testfilename)
E           pytestqt.exceptions.TimeoutError: Signal sig_finished() not
emitted after 10000 ms

/usr/lib/python3/dist-packages/spyder_line_profiler/widgets/tests/test_lineprofiler.py:53:
TimeoutError
========================== 1 failed in 10.75 seconds
===========================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180721/c164f23f/attachment.sig>


More information about the debian-science-maintainers mailing list