[Bug 1692865] Re: 'Requires Distributions' should include 'babel'

Morgan Fainberg morgan.fainberg at gmail.com
Wed Oct 24 18:47:59 UTC 2018


With i18n including the dependency, does Keystoneclient also need it
explicitly?

** Changed in: python-keystoneclient
       Status: New => Incomplete

-- 
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:
  Incomplete
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