Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12383
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Python help needed for test suite in multiqc |
| Date | 2020-03-25 20:40 +0100 |
| Message-ID | <zOk2B-7jS-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Python folks,
the Debian Med team intends to package multiqc[1]. When running the build
time tests I get:
...
debian/rules override_dh_auto_test
make[1]: Verzeichnis „/build/multiqc-1.8+dfsg“ wird betreten
cp -a multiqc*.egg-info /build/multiqc-1.8+dfsg/.pybuild/cpython3_3.8_multiqc/build
PYTHONPATH=/build/multiqc-1.8+dfsg/.pybuild/cpython3_3.8_multiqc/build dh_auto_test
I: pybuild base:217: cd /build/multiqc-1.8+dfsg/.pybuild/cpython3_3.7_multiqc/build; python3.7 -m unittest discover -v
multiqc (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: multiqc (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: multiqc
Traceback (most recent call last):
File "/usr/lib/python3.7/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/build/multiqc-1.8+dfsg/.pybuild/cpython3_3.7_multiqc/build/multiqc/__init__.py", line 16, in <module>
from .multiqc import run
File "/build/multiqc-1.8+dfsg/.pybuild/cpython3_3.7_multiqc/build/multiqc/multiqc.py", line 38, in <module>
from .utils import report, plugin_hooks, megaqc, util_functions, lint_helpers, config, log
File "/build/multiqc-1.8+dfsg/.pybuild/cpython3_3.7_multiqc/build/multiqc/utils/log.py", line 7, in <module>
import coloredlogs
File "/usr/lib/python3/dist-packages/coloredlogs/__init__.py", line 192, in <module>
from humanfriendly.terminal import ANSI_COLOR_CODES, ansi_wrap, terminal_supports_colors
ModuleNotFoundError: No module named 'humanfriendly.terminal'
----------------------------------------------------------------------
Ran 1 test in 0.000s
I'm wondering what else I need to do besides adding
python3-humanfriendly to Build-Depends to let this test pass.
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/multiqc
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Python help needed for test suite in multiqc Andreas Tille <andreas@an3as.eu> - 2020-03-25 20:40 +0100
Re: Python help needed for test suite in multiqc Andrey Rahmatullin <wrar@debian.org> - 2020-03-25 20:40 +0100
Re: Python help needed for test suite in multiqc Andreas Tille <tille@debian.org> - 2020-03-26 08:10 +0100
Re: Python help needed for test suite in multiqc Scott Kitterman <debian@kitterman.com> - 2020-03-26 12:50 +0100
csiph-web