Your message dated Sun, 19 Dec 2021 13:20:12 +0530
with message-id <[email protected]>
and subject line Re: [Debian-med-packaging] Bug#1001932: smart-open: FTBFS:
ERROR smart_open/tests/test_gcs.py: ModuleNotFoundError: No module named
'google'
has caused the Debian Bug report #1001932,
regarding smart-open: FTBFS: ERROR smart_open/tests/test_gcs.py:
ModuleNotFoundError: No module named 'google'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1001932: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001932
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
On 12/19/21 12:53 PM, Nilesh Patra wrote:
On 12/19/21 11:08 AM, Paul Wise wrote:
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'
That file is removed in dh_auto_clean, so there is no way this test would be
running.
It works perfectly fine on sbuild for me (I do not use pbuilder)
I just uploaded a new changelog revision, to get rid of python3-boto B-D. If it
passes on buildd machines,
I will close this bug.
It passes both salsa CI[1] and it builds on the buildd machine as well[2,3].
Looks like it is
a local issue for you, since the package is alright, and is building.
I am closing this bug report.
[1]: https://salsa.debian.org/med-team/smart-open/-/pipelines/329238
[2]:
https://buildd.debian.org/status/fetch.php?pkg=smart-open&arch=all&ver=5.2.1-2&stamp=1639899613&raw=0
[3]: https://buildd.debian.org/status/package.php?p=smart%2dopen
Nilesh
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---