yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67884
[Bug 1713760] Re: CentOS7: Can't build rpms without python-oauthlib
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1713760
Title:
CentOS7: Can't build rpms without python-oauthlib
Status in cloud-init:
Fix Released
Bug description:
python-oathlib is not a strict dependency of the cloud-init package,
but url_helper imports it without handling ImportErrors. This causes
breaks on CentOS 7 when trying to build an RPM in an environment which
doesn't have oauthlib.
make rpm
python3 ./packages/brpm --distro=redhat
Traceback (most recent call last):
File "./packages/brpm", line 27, in <module>
from cloudinit import templater
File "/root/cloud-init/cloudinit/templater.py", line 31, in <module>
from cloudinit import util
File "/root/cloud-init/cloudinit/util.py", line 48, in <module>
from cloudinit import url_helper
File "/root/cloud-init/cloudinit/url_helper.py", line 20, in <module>
import oauthlib.oauth1 as oauth1
ImportError: No module named 'oauthlib'
make: *** [rpm] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1713760/+subscriptions
References