[Debian-med-packaging] Bug#1030182: unifrac: FTBFS:

Sebastian Ramacher sramacher at debian.org
Tue Jan 31 21:50:43 GMT 2023


Source: unifrac
Version: 1.2-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

https://buildd.debian.org/status/fetch.php?pkg=unifrac&arch=amd64&ver=1.2-2%2Bb1&stamp=1675069851&raw=0

I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_unifrac/build; python3.11 -m unittest discover -v 
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 "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_unifrac/build/unifrac/__init__.py", line 11, in <module>
    from unifrac._methods import (unweighted,
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_unifrac/build/unifrac/_methods.py", line 15, in <module>
    import skbio
  File "/usr/lib/python3/dist-packages/skbio/__init__.py", line 11, in <module>
    import skbio.io  # noqa
    ^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/skbio/io/__init__.py", line 248, in <module>
    import_module('skbio.io.format.lsmat')
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/skbio/io/format/lsmat.py", line 77, in <module>
    from skbio.stats.distance import DissimilarityMatrix, DistanceMatrix
  File "/usr/lib/python3/dist-packages/skbio/stats/distance/__init__.py", line 197, in <module>
    from ._mantel import mantel, pwmantel
  File "/usr/lib/python3/dist-packages/skbio/stats/distance/_mantel.py", line 16, in <module>
    from scipy.stats import PearsonRConstantInputWarning
ImportError: cannot import name 'PearsonRConstantInputWarning' from 'scipy.stats' (/usr/lib/python3/dist-packages/scipy/stats/__init__.py)


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_unifrac/build; python3.11 -m unittest discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13
make: *** [debian/rules:8: binary-arch] Error 25

Cheers
-- 
Sebastian Ramacher



More information about the Debian-med-packaging mailing list