Package: src:python-memprof Version: 0.3.4-1 Severity: serious Tags: sid buster
python-memprof fails its autopkg tests with Python 3.7. The autopkg tests find the memprof module in the source package, and are using that. You should copy the testsuite to a temporary directory, cd to it and run the tess from there. autopkgtest [18:17:30]: test python3-testsuite: [----------------------- /usr/lib/python3/dist-packages/matplotlib/__init__.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping /usr/lib/python3/dist-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping /usr/lib/python3/dist-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Sized E ====================================================================== ERROR: test_demo (test1.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest.UUFbqF/build.kzG/src/testsuite/test1.py", line 28, in test_demo import demo File "/tmp/autopkgtest.UUFbqF/build.kzG/src/examples/demo.py", line 19, in <module> from memprof import * File "/tmp/autopkgtest.UUFbqF/build.kzG/src/memprof/__init__.py", line 17, in <module> from .memprof import * File "/tmp/autopkgtest.UUFbqF/build.kzG/src/memprof/memprof.py", line 25, in <module> from .getsize import getSize, isInteresting ModuleNotFoundError: No module named 'memprof.getsize' ---------------------------------------------------------------------- Ran 1 test in 0.793s FAILED (errors=1) autopkgtest [18:17:32]: test python3-testsuite: -----------------------]