[Debian-med-packaging] Bug#1029689: emperor: tests fail with scipy 1.10

Drew Parsons dparsons at debian.org
Thu Jan 26 11:37:49 GMT 2023


Package: emperor
Version: 1.0.3+ds-7
Severity: normal

scipy 1.10 is now available in experimental.
emperor 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 tests/test_core.py ______________________
ImportError while importing test module '/tmp/autopkgtest-lxc.7__q4ekw/downtmp/autopkgtest_tmp/tests/test_core.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_core.py:15: in <module>
    from skbio import OrdinationResults
/usr/lib/python3/dist-packages/skbio/__init__.py:11: in <module>
    import skbio.io  # noqa
/usr/lib/python3/dist-packages/skbio/io/__init__.py:248: in <module>
    import_module('skbio.io.format.lsmat')
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3/dist-packages/skbio/io/format/lsmat.py:77: in <module>
    from skbio.stats.distance import DissimilarityMatrix, DistanceMatrix
/usr/lib/python3/dist-packages/skbio/stats/distance/__init__.py:197: in <module>
    from ._mantel import mantel, pwmantel
/usr/lib/python3/dist-packages/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