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


Groups > linux.debian.maint.python > #12655 > unrolled thread

Help needed to run tests in biocore-ntnu-ncls

Started byAndreas Tille <andreas@an3as.eu>
First post2020-06-13 23:10 +0200
Last post2020-06-14 00:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Help needed to run tests in biocore-ntnu-ncls Andreas Tille <andreas@an3as.eu> - 2020-06-13 23:10 +0200
    Re: Help needed to run tests in biocore-ntnu-ncls Steffen Möller <steffen_moeller@gmx.de> - 2020-06-14 00:50 +0200

#12655 — Help needed to run tests in biocore-ntnu-ncls

FromAndreas Tille <andreas@an3as.eu>
Date2020-06-13 23:10 +0200
SubjectHelp needed to run tests in biocore-ntnu-ncls
Message-ID<Ahlzz-2bT-5@gated-at.bofh.it>
Hi DPMT,

Steffen Möller has prepared biocore-ntnu-ncls[1] in the Debian Med
COVID-19 effort.  I did a review and realised that the build time test
does not work:

...
==================================== ERRORS ====================================
_____ ERROR collecting .pybuild/cpython3_3.8_ncls/build/tests/test_ncls.py _____
ImportError while importing test module '/build/biocore-ntnu-ncls-0.0+git20200225.f9894b0/.pybuild/cpython3_3.8_ncls/build/tests/test_ncls.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_ncls.py:2: in <module>
    from ncls import NCLS
../../../ncls/__init__.py:1: in <module>
    from ncls.src.ncls import NCLS64
E   ModuleNotFoundError: No module named 'ncls.src.ncls'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
...

Any hint would be welcome.

Kind regards

     Andreas.


[1] https://salsa.debian.org/med-team/biocore-ntnu-ncls

-- 
http://fam-tille.de

[toc] | [next] | [standalone]


#12656

FromSteffen Möller <steffen_moeller@gmx.de>
Date2020-06-14 00:50 +0200
Message-ID<Ahn8m-2Y7-1@gated-at.bofh.it>
In reply to#12655
Hi Andreas,

I think it is fine now.

================================================================================= 
test session starts 
=================================================================================
platform linux -- Python 3.8.3, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
hypothesis profile 'default' -> 
database=DirectoryBasedExampleDatabase('/home/moeller/git/med-team/biocore-ntnu-ncls/biocore-ntnu-ncls/.pybuild/cpython3_3.8_ncls/build/.hypothesis/exa
mples')
rootdir: /home/moeller/git/med-team/biocore-ntnu-ncls/biocore-ntnu-ncls
plugins: xonsh-0.9.14, cov-2.8.1, xdist-1.31.0, hypothesis-4.36.2, 
mock-1.10.4, forked-1.1.3, arraydiff-0.3, timeout-1.3.3, 
openfiles-0.4.0, remotedata-0.3.2, doctestplus-0.5.0
collected 2 items

tests/test_ncls.py 
..                                                                                                                                                          [100%]

============================================================================== 
2 passed in 0.05 seconds 
===============================================================================

I missed the dependency on cython. Let also me remove the generated 
files from the upstream source tree and I'll then hand it back to you.

Many thanks!

Steffen

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web