[Debian-med-packaging] Bug#1029699: q2-metadata: tests fail with scipy 1.10
Drew Parsons
dparsons at debian.org
Thu Jan 26 12:01:42 GMT 2023
Package: q2-metadata
Version: 2022.8.0-1
Severity: normal
scipy 1.10 is now available in experimental.
q2-metadata 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 q2_metadata/tests/test_distance.py ______________
ImportError while importing test module '/tmp/autopkgtest-lxc.0wqd54b4/downtmp/autopkgtest_tmp/q2_metadata/tests/test_distance.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)
q2_metadata/__init__.py:10: in <module>
from ._distance import distance_matrix
q2_metadata/_distance.py:9: in <module>
import skbio
/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.11/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