We are thrilled to announce the release of: python-keystoneclient 2.2.0: Client Library for OpenStack Identity This release is part of the mitaka release series. With source available at: https://git.openstack.org/cgit/openstack/python-keystoneclient With package available at: https://pypi.python.org/pypi/python-keystoneclient Please report issues through launchpad: https://bugs.launchpad.net/python-keystoneclient For more details, please see below. 2.2.0 ^^^^^ New Features ************ * [bug 1479569 (https://bugs.launchpad.net/python- keystoneclient/+bug/1479569)] With the "include_names" parameter set to True the names of the role assignments are returned with the entities IDs. (GET /role_assignments?include_names=True) Deprecation Notes ***************** * [blueprint deprecate-to-ksa (https://blueprints.launchpad.net /python-keystoneclient/+spec/deprecate-to-ksa)] Several modules related to authentication in keystoneclient have been deprecated in favor of [keystoneauth (http://docs.openstack.org/developer/keystoneauth/)] These modules include: "keystoneclient.session", "keystoneclient.adapter", "keystoneclient.httpclient", "keystoneclient.auth.base", "keystoneclient.auth.cli", "keystoneclient.auth.conf", "keystoneclient.auth.identity.base", and "keystoneclient.auth.token_endpoint". Tips for migrating to *keystoneauth* have been [documented (http://docs.openstack.org/developer/keystoneauth/migrating.html)]. Changes in python-keystoneclient 2.1.2..2.2.0 --------------------------------------------- 1a84e24 add release notes for deprecated auth bits 5840afa Updated from global requirements b9f4309 Updated from global requirements cdcddc5 Make pep8 *the* linting interface 96fbfea Handle exception on UnicodeDecodError in logging of request 81f7fea Updated from global requirements 2d7fa42 Deprecate adapter 03e209f Deprecate auth plugins from keystoneclient c1c2043 Deprecate Session cc99324 Remove python 2.5 workaround cc3aea1 Update keyring requirements 756183f Update translation setup 2f20c24 Bandit profile updates 677ef6d Missing defaults in the create() method in the v2 ServiceManager 5851ddb Remove Babel from requirements.txt 81fdaab use positional library instead of utils 59ba765 Replace TestResponse with requests_mock 056740c Use positional library instead of local code 267a8cb Remove argparse from requirements 32ec172 Adds an option to include names in role assignment lists 3c48e04 Updated from global requirements 75cde65 Remove bandit tox environment 0a0419d Merge pep8 and bandit into linters 04f9f33 Mark password/secret options as secret 77ed0d4 Address hacking check H405 65b348e Deprecate the baseclient.Client Diffstat (except docs and test files) ------------------------------------- bandit.yaml | 17 +-- keystoneclient/_discover.py | 10 +- keystoneclient/access.py | 121 ++++++++------- keystoneclient/adapter.py | 12 +- keystoneclient/auth/base.py | 16 ++ keystoneclient/auth/cli.py | 16 +- keystoneclient/auth/conf.py | 21 +++ keystoneclient/auth/identity/access.py | 5 +- keystoneclient/auth/identity/base.py | 49 +++--- keystoneclient/auth/identity/generic/cli.py | 5 +- keystoneclient/auth/identity/generic/password.py | 5 +- keystoneclient/auth/identity/generic/token.py | 2 +- keystoneclient/auth/identity/v2.py | 5 +- keystoneclient/auth/identity/v3/base.py | 10 +- keystoneclient/auth/token_endpoint.py | 8 + keystoneclient/base.py | 3 +- keystoneclient/baseclient.py | 7 + keystoneclient/common/cms.py | 1 + keystoneclient/contrib/auth/v3/oidc.py | 9 +- keystoneclient/contrib/auth/v3/saml2.py | 2 +- keystoneclient/contrib/ec2/utils.py | 27 ++-- keystoneclient/discover.py | 17 ++- keystoneclient/fixture/discovery.py | 13 +- keystoneclient/generic/shell.py | 3 +- keystoneclient/httpclient.py | 29 ++-- keystoneclient/service_catalog.py | 26 ++-- keystoneclient/session.py | 38 +++-- keystoneclient/utils.py | 170 ++------------------- keystoneclient/v2_0/services.py | 2 +- keystoneclient/v2_0/tokens.py | 5 +- keystoneclient/v3/auth.py | 6 +- .../v3/contrib/federation/identity_providers.py | 5 +- keystoneclient/v3/contrib/federation/mappings.py | 5 +- keystoneclient/v3/contrib/federation/protocols.py | 5 +- .../v3/contrib/federation/service_providers.py | 5 +- keystoneclient/v3/credentials.py | 6 +- keystoneclient/v3/domains.py | 7 +- keystoneclient/v3/endpoints.py | 9 +- keystoneclient/v3/groups.py | 11 +- keystoneclient/v3/policies.py | 9 +- keystoneclient/v3/projects.py | 13 +- keystoneclient/v3/role_assignments.py | 6 +- keystoneclient/v3/roles.py | 15 +- keystoneclient/v3/services.py | 9 +- keystoneclient/v3/tokens.py | 7 +- keystoneclient/v3/users.py | 8 +- .../locale/python-keystoneclient.pot | 20 --- .../notes/deprecated_auth-d2a2bf537bdb88d3.yaml | 12 ++ ...ist_role_assignment_names-7e1b7eb8c2d22d7c.yaml | 6 + requirements.txt | 23 ++- setup.cfg | 10 +- test-requirements.txt | 28 ++-- tox.ini | 10 +- 86 files changed, 665 insertions(+), 631 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 29cae05..b4d5c3d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ -pbr>=1.6 +pbr>=1.6 # Apache-2.0 @@ -7,7 +7,5 @@ pbr>=1.6 -argparse -Babel>=1.3 -iso8601>=0.1.9 -debtcollector>=0.3.0 # Apache-2.0 -keystoneauth1>=2.1.0 -oslo.config>=3.2.0 # Apache-2.0 -oslo.i18n>=1.5.0 # Apache-2.0 +iso8601>=0.1.9 # MIT +debtcollector>=1.2.0 # Apache-2.0 +keystoneauth1>=2.1.0 # Apache-2.0 +oslo.config>=3.4.0 # Apache-2.0 +oslo.i18n>=2.1.0 # Apache-2.0 @@ -15,4 +13,5 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=3.2.0 # Apache-2.0 -PrettyTable<0.8,>=0.7 -requests!=2.9.0,>=2.8.1 -six>=1.9.0 +oslo.utils>=3.4.0 # Apache-2.0 +positional>=1.0.1 # Apache-2.0 +PrettyTable<0.8,>=0.7 # BSD +requests!=2.9.0,>=2.8.1 # Apache-2.0 +six>=1.9.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 4b7a533..83e390e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ hacking<0.11,>=0.10.0 -flake8-docstrings==0.2.1.post1 +flake8-docstrings==0.2.1.post1 # MIT @@ -8,6 +8,6 @@ flake8-docstrings==0.2.1.post1 -coverage>=3.6 -fixtures>=1.3.1 -keyring>=5.5.1 -lxml>=2.3 -mock>=1.2 -oauthlib>=0.6 +coverage>=3.6 # Apache-2.0 +fixtures>=1.3.1 # Apache-2.0/BSD +keyring>=5.5.1 # MIT/PSF +lxml>=2.3 # BSD +mock>=1.2 # BSD +oauthlib>=0.6 # BSD @@ -18,6 +18,6 @@ requests-mock>=0.7.0 # Apache-2.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -tempest-lib>=0.13.0 -testrepository>=0.0.18 -testresources>=0.2.4 -testscenarios>=0.4 -testtools>=1.4.0 +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +tempest-lib>=0.14.0 # Apache-2.0 +testrepository>=0.0.18 # Apache-2.0/BSD +testresources>=0.2.4 # Apache-2.0/BSD +testscenarios>=0.4 # Apache-2.0/BSD +testtools>=1.4.0 # MIT @@ -26 +26 @@ testtools>=1.4.0 -bandit>=0.13.2 +bandit>=0.17.3 # Apache-2.0