[Bug 2073242] Re: Tests require python-oauth2client
Launchpad Bug Tracker
2073242 at bugs.launchpad.net
Sat Jul 27 10:36:57 UTC 2024
This bug was fixed in the package cinder - 2:24.0.0-0ubuntu3
---------------
cinder (2:24.0.0-0ubuntu3) oracular; urgency=medium
* Remove use of python-oauth2client (LP: #2073242):
- 8fb2b35.diff: remove logic for google-api-python-client < 1.6.0
- d71530c.diff: remove unused fallback to oauth2client
-- Adrien Nader <adrien.nader at canonical.com> Tue, 23 Jul 2024 15:19:19
+0200
** Changed in: cinder (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/2073242
Title:
Tests require python-oauth2client
Status in Cinder:
Confirmed
Status in cinder package in Ubuntu:
Fix Released
Bug description:
Cinder has implemented support for both oauth2client and google-auth.
However, tests still require oauth2client.
The affected file is cinder/tests/unit/backup/fake_google_client.py .
It does the following:
from oauth2client import client
[...]
raise client.Error
I've tried alternatives but a) I'm not familiar enough with the
codebases to be entirely confident about them, b) the codepath has not
been taken during my tests and I therefore had no way of verifying my
changes.
Considering the codepath appears to not be taken during normal
operation, a generic Exception seems acceptable to me, at least in the
short term. I plan on preparing such a chance soon in order to fix
current cinder builds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/2073242/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list