Source: python-magcode-core
Version: 1.5.4-4
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=python-magcode-core&arch=all&ver=1.5.4-4&stamp=1602724429&raw=0
...
dh_auto_test -i -O--buildsystem=pybuild
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9
in use)
I: pybuild base:217: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build; python3.9 -m
unittest discover -v
magcode.core.database (unittest.loader._FailedTest) ... ERROR
magcode.core.wsgi (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: magcode.core.database (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: magcode.core.database
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.9/unittest/loader.py", line 377, in
_get_module_from_name
__import__(name)
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build/magcode/core/database/__init__.py",
line 28, in <module>
from magcode.core.database.utility import *
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build/magcode/core/database/utility.py",
line 29, in <module>
from sqlalchemy import create_engine
ModuleNotFoundError: No module named 'sqlalchemy'
======================================================================
ERROR: magcode.core.wsgi (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: magcode.core.wsgi
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.9/unittest/loader.py", line 377, in
_get_module_from_name
__import__(name)
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build/magcode/core/wsgi/__init__.py",
line 30, in <module>
from magcode.core.database import *
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build/magcode/core/database/__init__.py",
line 28, in <module>
from magcode.core.database.utility import *
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build/magcode/core/database/utility.py",
line 29, in <module>
from sqlalchemy import create_engine
ModuleNotFoundError: No module named 'sqlalchemy'
----------------------------------------------------------------------
Ran 2 tests in 0.001s
FAILED (errors=2)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_magcode-core/build; python3.9 -m
unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned
exit code 13
make: *** [debian/rules:10: build-indep] Error 25