Bug#905541: spyder-unittest: autopkgtest fails with python3.7 in supported versions

Paul Gevers elbrus at debian.org
Sun Aug 5 20:31:07 BST 2018


Source: spyder-unittest
Version: 0.3.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: needs-update

Dear maintainers,

Currently the python3.7 transition¹ is going on, which means that
python3.7 is added to the supported python3 versions. However, since
python3-defaults added python3.7 support, your autopkgtest has been
failing. Because your test somehow depends on pandas, which needed a new
version which only yesterday migrated, I could not detect and report the
issue below earlier.

Could you please investigate? It seems you're processing the output from
pycodestyle when the error occurs, so I wouldn't be surprised if the bug
was there. In that case, please reassign this bug.

Paul

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

https://ci.debian.net/data/autopkgtest/testing/amd64/s/spyder-unittest/773675/log.gz

=================================== FAILURES
===================================
_________________ test_run_tests_and_display_results[py.test]
__________________
CALL ERROR: Qt exceptions in virtual methods:
________________________________________________________________________________
Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/spyder_unittest/backend/jsonstream.py",
line 92, in consume
    len_encoding = int(txt[index:end_of_line1])
ValueError: invalid literal for int() with base 10:
'/usr/lib/python3/dist-packages/pycodestyle.py:113: FutureWarning:
Possible nested set at position 1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/spyder_unittest/backend/pytestrunner.py",
line 44, in read_output
    result = self.reader.consume(output)
  File
"/usr/lib/python3/dist-packages/spyder_unittest/backend/jsonstream.py",
line 95, in consume
    % (repr(txt), index, end_of_line1))
ValueError: txt = '805\n{"event": "finished", "stdout":
"============================= test session starts
==============================\\nplatform linux -- Python 3.7.0,
pytest-3.6.4, py-1.5.4, pluggy-0.6.0\\nPyQt5 5.11.2 -- Qt runtime 5.10.1
-- Qt compiled 5.10.1\\nrootdir:
/tmp/pytest-of-debci/pytest-0/test_run_tests_and_display_res0,
inifile:\\nplugins: xvfb-1.0.0, qt-2.3.1\\ncollected 2
items\\n\\ntest_foo.py .F
           [100%]\\n\\n=================================== FAILURES
===================================\\n__________________________________
test_fail ___________________________________\\n\\n>   def test_fail():
assert 1+1 == 3\\nE   assert (1 + 1) == 3\\n\\ntest_foo.py:2:
AssertionError\\n====================== 1 failed, 1 passed in 0.06
seconds
======================\\n"}\n/usr/lib/python3/dist-packages/pycodestyle.py:113:
FutureWarning: Possible nested set at position 1\n
EXTRANEOUS_WHITESPACE_REGEX = re.compile(r\'[[({] | []}),;:]\')\n'
index = 810  end_of_line1 = 909

-------------- 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/20180805/e6cb9d7c/attachment-0001.sig>


More information about the debian-science-maintainers mailing list