<div dir="auto"><div>Hi<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 Mar 2020, 17:12 Andreas Tille, <<a href="mailto:tille@debian.org">tille@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I fixed the actual issue in Git but got a new error:<br>
<br>
<br>
...<br>
   dh_auto_test -O--buildsystem=pybuild<br>
I: pybuild base:217: cd /build/pyqi-0.3.2+dfsg/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover -v <br>
/build/pyqi-0.3.2+dfsg/.pybuild/cpython3_3.8/build/pyqi/core/interfaces/html/__init__.py:359: SyntaxWarning: "is not" with a literal. Did you mean "!="?<br>
  if full_name in postvars and i.Type is not 'upload_file':<br>
pyqi.core.interfaces.html (unittest.loader._FailedTest) ... ERROR<br>
<br>
======================================================================<br>
ERROR: pyqi.core.interfaces.html (unittest.loader._FailedTest)<br>
----------------------------------------------------------------------<br>
ImportError: Failed to import test module: pyqi.core.interfaces.html<br>
Traceback (most recent call last):<br>
  File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path<br>
    package = self._get_module_from_name(name)<br>
  File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name<br>
    __import__(name)<br>
  File "/build/pyqi-0.3.2+dfsg/.pybuild/cpython3_3.8/build/pyqi/core/interfaces/html/__init__.py", line 25, in <module><br>
    from cgi import parse_header, parse_multipart, parse_qs, FieldStorage<br>
ImportError: cannot import name 'parse_qs' from 'cgi' (/usr/lib/python3.8/cgi.py)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Just checked, none of the cgi imports (parse_header, parse_qs et al) are being used anywhere in the file. </div><div dir="auto">Imo, you can just delete this import line.</div><div dir="auto">On doing that, build passed for me.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
----------------------------------------------------------------------<br>
Ran 1 test in 0.000s<br>
<br>
FAILED (errors=1)<br>
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /build/pyqi-0.3.2+dfsg/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover -v <br>
dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13<br>
...<br>
<br>
<br>
Since pyqi has no rdepends any more and IMHO was only packaged<br>
for qiime version 1.x I'd suggest to remove this package.<br>
<br>
Am I missing something?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Regards, Nilesh.</div></div>