Public bug reported:
cinder currently FTBFS while trying to execute tests as the Google API
core modules can't be loaded:
=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module:
cinder.tests.unit.backup.drivers.test_backup_google
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 339, in
_get_module_from_name
__import__(name)
File
"/<<PKGBUILDDIR>>/cinder/tests/unit/backup/drivers/test_backup_google.py", line
33, in <module>
from cinder.backup.drivers import gcs as google_dr
File "/<<PKGBUILDDIR>>/cinder/backup/drivers/gcs.py", line 46, in <module>
from googleapiclient import discovery
File "/usr/lib/python3/dist-packages/googleapiclient/discovery.py", line 42,
in <module>
import google.api_core.client_options
ModuleNotFoundError: No module named 'google.api_core'
this looks to be external to the googleapiclient module:
install_requires = [
"httplib2>=0.19.0,<1.dev0",
# NOTE: Maintainers, please do not require google-auth>=2.x.x
# Until this issue is closed
# https://github.com/googleapis/google-cloud-python/issues/10566
"google-auth>=1.32.0,<3.0.0.dev0,!=2.24.0,!=2.25.0",
"google-auth-httplib2>=0.2.0, <1.0.0",
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
# Until this issue is closed
# https://github.com/googleapis/google-cloud-python/issues/10566
"google-api-core >= 1.31.5, <3.0.0.dev0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
"uritemplate>=3.0.1,<5",
]
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: python3-googleapi 2.131.0-0ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 21 15:02:14 2024
InstallationDate: Installed on 2023-09-12 (283 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64
(20230807.2)
PackageArchitecture: all
SourcePackage: python-googleapi
UpgradeStatus: Upgraded to oracular on 2024-01-10 (163 days ago)
** Affects: python-googleapi (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oracular wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070046
Title:
googleapi missing runtime dependency
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-googleapi/+bug/2070046/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs