Public bug reported: 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. ** Affects: oslo.i18n Importance: Undecided Status: New ** Affects: python-keystoneclient (Ubuntu) Importance: Undecided Status: New ** Affects: python-swiftclient (Ubuntu) Importance: Undecided Status: New ** Description changed: - In the line 24 of file '_gettextutils.py' by the version + 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 included as a requirement for oslo.i18n. + babel should be included as a requirement for oslo.i18n. If babel not installed, after the execution of the following cmd 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: + "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 version - of file swiftclient.client.py. + 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. ** Description changed: 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 cmd on a - new-installed os: + 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. ** Description changed: 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: + 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. ** Description changed: 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: + 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. ** Also affects: python-swiftclient (Ubuntu) Importance: Undecided Status: New ** Also affects: python-keystoneclient (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692865 Title: 'Requires Distributions' should include 'babel' To manage notifications about this bug go to: https://bugs.launchpad.net/oslo.i18n/+bug/1692865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs