[Python-apps-team] Bug#975518: sinntp fails autopkg tests

Matthias Klose doko at debian.org
Mon Nov 23 09:23:18 GMT 2020


Package: src:sinntp
Version: 1.6-1.1
Severity: serious
Tags: sid bullseye patch
User: debian-python at lists.debian.org
Usertags: python3.9

looks like a missing test dependency on python3-all, plus you should call
py3versions -s, not -i.

[...]
autopkgtest [02:10:25]: test tests: [-----------------------
env python3.8 -c '\n''import sys'$'\n''sys.path[0:0] =
['\''/usr/share/sinntp/'\'']'$'\n''exec(open('\''tests.py'\'').read())'$'\n'
--verbose
Traceback (most recent call last):
  File "<string>", line 16, in <module>
ModuleNotFoundError: No module named 'unittest2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "<string>", line 18, in <module>
ModuleNotFoundError: No module named 'unittest'
env python3.9 -c '\n''import sys'$'\n''sys.path[0:0] =
['\''/usr/share/sinntp/'\'']'$'\n''exec(open('\''tests.py'\'').read())'$'\n'
--verbose
test_empty (__main__.test_join_lines) ... ok
test_no_trailing_lf (__main__.test_join_lines) ... ok
test_trailing_lf (__main__.test_join_lines) ... ok
test_domain (__main__.test_split_host) ... ok
test_domain_and_port (__main__.test_split_host) ... ok
test_ipv4 (__main__.test_split_host) ... ok
test_ipv4_and_port (__main__.test_split_host) ... ok
test_ipv6 (__main__.test_split_host) ... ok
test_ipv6_and_port (__main__.test_split_host) ... ok
test_ipv6_in_brackets (__main__.test_split_host) ... ok
test_XDG_DATA_HOME_absolute (__main__.test_xdg) ... ok
test_XDG_DATA_HOME_empty (__main__.test_xdg) ... ok
test_XDG_DATA_HOME_relative (__main__.test_xdg) ... ok
test_XDG_DATA_HOME_unset (__main__.test_xdg) ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.002s

OK



More information about the Python-apps-team mailing list