[Debian-med-packaging] Bug#1001932: smart-open: FTBFS: ERROR smart_open/tests/test_gcs.py: ModuleNotFoundError: No module named 'google'
Paul Wise
pabs at debian.org
Sun Dec 19 05:38:18 GMT 2021
Source: smart-open
Version: 5.2.1-1
Severity: serious
Tags: ftbfs
When trying to rebuild smart-open in pbuilder, I get a test failure:
$ pdebuild
...
============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /build/smart-open-5.2.1, configfile: tox.ini
collected 306 items / 1 error / 305 selected
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.9_smart-open/build/smart_open/tests/test_gcs.py _
ImportError while importing test module '/build/smart-open-5.2.1/.pybuild/cpython3_3.9_smart-open/build/smart_open/tests/test_gcs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
smart_open/tests/test_gcs.py:20: in <module>
import google.cloud
E ModuleNotFoundError: No module named 'google'
=========================== short test summary info ============================
ERROR smart_open/tests/test_gcs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.32s ===============================
E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd /build/smart-open-5.2.1/.pybuild/cpython3_3.9_smart-open/build; python3.9 -m pytest smart_open/tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211219/7dc55018/attachment.sig>
More information about the Debian-med-packaging
mailing list