[Debian-med-packaging] Bug#1029697: python-skbio: tests fail with scipy 1.10

Drew Parsons dparsons at debian.org
Thu Jan 26 12:00:08 GMT 2023


Package: python-skbio
Version: 0.5.8-2
Severity: normal

scipy 1.10 is now available in experimental.
python-skbio fails debci tests using it.

We are considering uploading scipy 1.10 to unstable in order to
included it in the forthcoming stable release.  If we proceed with
that, then this bug will become Severity: serious.

The errors are ImportError: cannot import name 'PearsonRConstantInputWarning'
A sample from the failing test log is

___________ ERROR collecting skbio/alignment/tests/test_pairwise.py ____________
ImportError while importing test module '/tmp/autopkgtest-lxc.8bdh466m/downtmp/autopkgtest_tmp/skbio/alignment/tests/test_pairwise.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
skbio/__init__.py:11: in <module>
    import skbio.io  # noqa
skbio/io/__init__.py:248: in <module>
    import_module('skbio.io.format.lsmat')
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
skbio/io/format/lsmat.py:77: in <module>
    from skbio.stats.distance import DissimilarityMatrix, DistanceMatrix
skbio/stats/distance/__init__.py:197: in <module>
    from ._mantel import mantel, pwmantel
skbio/stats/distance/_mantel.py:16: in <module>
    from scipy.stats import PearsonRConstantInputWarning
E   ImportError: cannot import name 'PearsonRConstantInputWarning' from 'scipy.stats' (/usr/lib/python3/dist-packages/scipy/stats/__init__.py)



More information about the Debian-med-packaging mailing list