Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12384

Re: Python help needed for test suite in multiqc

From Andrey Rahmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python help needed for test suite in multiqc
Date 2020-03-25 20:40 +0100
Message-ID <zOk2B-7jS-5@gated-at.bofh.it> (permalink)
References <zOk2B-7jS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Mar 25, 2020 at 08:31:10PM +0100, Andreas Tille wrote:
> 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'
http://bugs.debian.org/954640

-- 
WBR, wRAR

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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