Bug#905541: spyder-unittest: autopkgtest fails with python3.7 in supported versions
Jitse Niesen
jitseniesen at yahoo.com
Mon Aug 6 09:47:18 BST 2018
Hello,
I am the upstream maintainer.
I did not manage to reproduce the error using Anaconda, and did not try
to do so using the Debian packages. But looking at the error message,
there seem to be two issues.
Firstly, pycodestyle somehow produces a FutureWarning:
> /usr/lib/python3/dist-packages/pycodestyle.py:113:
> FutureWarning: Possible nested set at position 1\n
> EXTRANEOUS_WHITESPACE_REGEX = re.compile(r\'[[({] | []}),;:]\')\n'
I see that Debian has pycodestyle 2.3.1. Anaconda has version 2.4.0 and
does not show this FutureWarning.
I don't understand why this warning appears because spyder-unittest does
not use pycodestyle directly. I guess it is imported indirectly.
Secondly, the warning message somehow confuses spyder-unittest. Version
0.3.1 of spyder-unittest is more robust in parsing the input, so my
advice would be to try that version. It does introduce a new dependency,
pyzmq, but this is already an indirect dependency (via spyder) so
hopefully it will not cause too many problems.
Please let me know if you have more questions.
All the best,
Jitse
More information about the debian-science-maintainers
mailing list