[Bug 1692865] Re: 'Requires Distributions' should include 'babel'
Corey Bryant
corey.bryant at canonical.com
Wed Jan 24 13:07:46 UTC 2018
I checked the Ubuntu packages for python(3)-oslo.i18n back to Kilo and
they all have python(3)-babel as a dependency, so marking as invalid for
the Ubuntu packages.
** Changed in: python-keystoneclient (Ubuntu)
Status: Confirmed => Invalid
** Changed in: python-swiftclient (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-keystoneclient in Ubuntu.
https://bugs.launchpad.net/bugs/1692865
Title:
'Requires Distributions' should include 'babel'
Status in oslo.i18n:
Fix Released
Status in python-keystoneclient:
New
Status in python-swiftclient:
New
Status in python-keystoneclient package in Ubuntu:
Invalid
Status in python-swiftclient package in Ubuntu:
Invalid
Bug description:
In the line 24 of file '_gettextutils.py' on version
'oslo.i18n==3.15.2', there is an import statement as 'from babel
import localedata'.
Considering that 'babel' is not a standard library for python 2.7, so
babel should be included as a requirement for oslo.i18n.
If babel not installed, after the execution of the following commands
on a new-installed os:
pip install python-keystoneclient
pip install python-swiftclient
it will fail when using auth version 2.0 and the hints are as follow:
"Failed:
Auth versions 2.0 and 3 require python-keystoneclient, install it or use Auth
version 1.0 which requires ST_AUTH, ST_USER, and ST_KEY environment
variables to be set or overridden with -A, -U, or -K."
and these hints are generated form swiftclient==3.10.0 when executing
'from keystoneclient.v2_0 import client as ksclient' in line 542 of
file swiftclient.client.py.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.i18n/+bug/1692865/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list