[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please help fixing build time test (Was: Bug#996921: RFA: unifrac)



Hi Andreas,

Andreas Tille, on 2022-11-16:
> Ahhh, that's a different one and should be fixed now.  The real issue
> with autopkgtest is:
> 
> autopkgtest [20:00:40]: test run-unit-test: [-----------------------
> Test 4 -- Unifrac python tests
> unifrac (unittest.loader._FailedTest.unifrac) ... ERROR
> 
> ======================================================================
> ERROR: unifrac (unittest.loader._FailedTest.unifrac)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: unifrac
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 440, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name
>     __import__(name)
>   File "/tmp/autopkgtest.FVEVf1/tree/unifrac/__init__.py", line 30, in <module>
>     from unifrac._api import ssu, faith_pd, ssu_to_file, ssu_inmem
> ModuleNotFoundError: No module named 'unifrac._api'

This one looks to have been caused by python3 grabbing the
unifrac/ directory instead of fetching the module from its
/usr/lib location.  I have pushed a fix on salsa.

Have a good evening,  :)
-- 
Étienne Mollier <emollier@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
On air: Bjørn Riis - Lay Me Down

Attachment: signature.asc
Description: PGP signature


Reply to: