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

Corey Bryant corey.bryant at canonical.com
Thu Jan 11 20:10:00 UTC 2018


I've marked the corresponding upstream projects as affected by this bug
in order to get their input.

** Also affects: python-keystoneclient
   Importance: Undecided
       Status: New

** Also affects: python-swiftclient
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in python-keystoneclient:
  New
Status in python-swiftclient:
  New
Status in python-keystoneclient package in Ubuntu:
  Confirmed
Status in python-swiftclient package in Ubuntu:
  Confirmed

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