[Python-modules-team] Bug#953232: python-qtconsole: autopkgtest regression: No module named 'IPython.core.inputtransformer2'

Paul Gevers elbrus at debian.org
Fri Mar 6 09:27:20 GMT 2020


Source: python-qtconsole
Version: 4.6.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainers,

With a recent upload of python-qtconsole the autopkgtest of
python-qtconsole fails in testing when that autopkgtest is run with the
binary packages of python-qtconsole from unstable. It passes when run
with only packages from testing. In tabular form:
                       pass            fail
python-qtconsole       from testing    4.6.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-qtconsole

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-qtconsole/4245479/log.gz

autopkgtest [22:24:52]: test command1: set -efu ; xvfb-run -a
--server-args="-screen 0 1024x768x24" gdb -q -batch -ex run -ex
backtrace --args python3 -m pytest --pyargs qtconsole
autopkgtest [22:24:52]: test command1: [-----------------------
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 5965]
[Detaching after fork from child process 5966]
[Detaching after fork from child process 5967]
[Detaching after fork from child process 5968]
============================= test session starts
==============================
platform linux -- Python 3.7.6, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
PyQt5 5.14.1 -- Qt runtime 5.12.5 -- Qt compiled 5.12.5
rootdir: /tmp/autopkgtest-lxc.r1me5yhb/downtmp/build.cfb/src
plugins: xvfb-1.2.0, qt-3.2.2
collected 27 items / 1 errors / 26 selected

==================================== ERRORS
====================================
__________ ERROR collecting qtconsole/tests/test_00_console_widget.py
__________
ImportError while importing test module
'/tmp/autopkgtest-lxc.r1me5yhb/downtmp/build.cfb/src/qtconsole/tests/test_00_console_widget.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
qtconsole/tests/test_00_console_widget.py:8: in <module>
    from IPython.core.inputtransformer2 import TransformerManager
E   ModuleNotFoundError: No module named 'IPython.core.inputtransformer2'
=============================== warnings summary
===============================
/usr/lib/python3/dist-packages/prompt_toolkit/styles/from_dict.py:9
  /usr/lib/python3/dist-packages/prompt_toolkit/styles/from_dict.py:9:
DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated since Python 3.3,and in
3.9 it will stop working
    from collections import Mapping

qtconsole/ansi_code_processor.py:47

/tmp/autopkgtest-lxc.r1me5yhb/downtmp/build.cfb/src/qtconsole/ansi_code_processor.py:47:
DeprecationWarning: invalid escape sequence \[
    CSI_SUBPATTERN = '\[(.*?)([%s])' % CSI_COMMANDS

qtconsole/ansi_code_processor.py:48

/tmp/autopkgtest-lxc.r1me5yhb/downtmp/build.cfb/src/qtconsole/ansi_code_processor.py:48:
DeprecationWarning: invalid escape sequence \]
    OSC_SUBPATTERN = '\](.*?)[\x07\x1b]'

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection
!!!!!!!!!!!!!!!!!!!!
===================== 3 warnings, 1 error in 0.79 seconds
======================
[Inferior 1 (process 5961) exited with code 02]
No stack.
autopkgtest [22:24:55]: test command1: -----------------------]

-------------- 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/python-modules-team/attachments/20200306/99dac9d6/attachment.sig>


More information about the Python-modules-team mailing list