We are happy to announce the release of: python-keystoneclient 2.1.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.1.0 ^^^^^ keystoneclient.apiclient has been removed. keystoneclient.middleware has been removed. Critical Issues *************** * [bug 1526651 (https://bugs.launchpad.net/python- keystoneclient/+bug/1526651)] The *keystoneclient.apiclient* module has been removed in favor of *keystoneclient.exceptions*. The aforementioned module has been deprecated since keystoneclient v0.7.1 which was inclued in the Juno release of OpenStack. * [bug 1449066 (https://bugs.launchpad.net/python- keystoneclient/+bug/1449066)] The *keystoneclient.middleware* module has been removed in favor of the keystonemiddleware library. The aforementioned module has been deprecated since keystoneclient v0.10.0 which was included in the Juno release of OpenStack. Bug Fixes ********* * [bug 1462694 (https://bugs.launchpad.net/python- keystoneclient/+bug/1462694)] Add support for *include_subtree* in list_role_assignments. * [bug 1526686 (https://bugs.launchpad.net/python- keystoneclient/+bug/1526686)] Replace textwrap with faster code in cms functions. * [bug 1457702 (https://bugs.launchpad.net/python- keystoneclient/+bug/1457702)] Change default endpoint to public for keystone v3. * [bug 1520244 (https://bugs.launchpad.net/python- keystoneclient/+bug/1520244)] Support *truncated* flag returned from server. Other Notes *********** * Support v2 parameters for the v3 service create method. Changes in python-keystoneclient 2.0.0..2.1.0 --------------------------------------------- 7327067 add release notes for ksc 2.1.0 9774ad3 Updated from global requirements c353a06 Updated from global requirements 13ade58 Fix for the deprecated library function f5bcd87 Implements base classes for functional tests bc85765 Wrong usage of "a/an" 1aaebf0 Remove "deprecated" internal method 903ecfd Cleanup release note 689e7d0 remove keystoneclient.apiclient.exceptions c28d408 Support `truncated` flag returned by keystone d3b11d6 Change default endpoint for Keystone v3 to public f8c47a1 Updated from global requirements b939dd9 Make tests run against original client and sessions 2dd67f8 Seperate Client base test class e20277a Removes MANIFEST.in as it is not needed explicitely by PBR fde0bf7 Replace textwrap with fast standard code 9822135 Docstring: Mark optional parameter as optional. fcbb2d7 Fix Resource.__eq__ mismatch semantics of object equal 59ee992 move hacking to tests folder 26bdb06 remove venv bits from tools 7ff3955 Add include_subtree to role_list_assignments call a3d4495 Updated from global requirements 7a4f019 remove the default arguments "{}" ff8f31d Updated from global requirements afb46ab remove oslo-incubator's memorycache 92fb876 WebOb not needed after auth_token removal e340caf Deprecated tox -downloadcache option removed 646350c Remove keystoneclient.middleware 7c1a67a Updated from global requirements dd5175e Updated from global requirements 46e449c Put py34 first in the env order of tox 7035376 Accept v2 params to v3 service create 7ca83ae Delete python bytecode before every test run Diffstat (except docs and test files) ------------------------------------- MANIFEST.in | 7 - examples/pki/gen_pki.sh | 5 - examples/pki/run_all.sh | 1 - keystoneclient/apiclient/__init__.py | 41 - keystoneclient/apiclient/exceptions.py | 34 - keystoneclient/base.py | 31 +- keystoneclient/client.py | 2 +- keystoneclient/common/cms.py | 3 +- keystoneclient/contrib/auth/v3/saml2.py | 2 +- keystoneclient/hacking/__init__.py | 0 keystoneclient/hacking/checks.py | 37 - keystoneclient/middleware/__init__.py | 0 keystoneclient/middleware/auth_token.py | 1624 ---------------- keystoneclient/middleware/memcache_crypt.py | 209 --- keystoneclient/middleware/s3_token.py | 274 --- keystoneclient/openstack/common/memorycache.py | 103 -- keystoneclient/v2_0/ec2.py | 4 +- keystoneclient/v2_0/endpoints.py | 2 +- keystoneclient/v2_0/roles.py | 2 +- keystoneclient/v2_0/services.py | 2 +- keystoneclient/v2_0/tenants.py | 4 +- keystoneclient/v2_0/tokens.py | 4 +- keystoneclient/v2_0/users.py | 2 +- keystoneclient/v3/client.py | 5 + keystoneclient/v3/ec2.py | 6 +- keystoneclient/v3/regions.py | 2 +- keystoneclient/v3/role_assignments.py | 6 +- keystoneclient/v3/services.py | 20 +- keystoneclient/v3/users.py | 4 +- openstack-common.conf | 2 - releasenotes/notes/ksc_2.1.0-739ded9c4c3f8aaa.yaml | 17 + .../notes/remove-middleware-eef8c40117b465aa.yaml | 10 + ...move_apiclient_exceptions-6580003a885db286.yaml | 10 + requirements.txt | 9 +- test-requirements.txt | 11 +- tools/install_venv.py | 71 - tools/install_venv_common.py | 172 -- tools/with_venv.sh | 4 - tox.ini | 11 +- 89 files changed, 615 insertions(+), 5234 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 944e669..29cae05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,2 @@ debtcollector>=0.3.0 # Apache-2.0 -keystoneauth1>=1.0.0 -netaddr!=0.7.16,>=0.7.12 -oslo.config>=2.7.0 # Apache-2.0 +keystoneauth1>=2.1.0 +oslo.config>=3.2.0 # Apache-2.0 @@ -16 +15 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=2.8.0 # Apache-2.0 +oslo.utils>=3.2.0 # Apache-2.0 @@ -18 +17 @@ PrettyTable<0.8,>=0.7 -requests>=2.8.1 +requests!=2.9.0,>=2.8.1 diff --git a/test-requirements.txt b/test-requirements.txt index 16d2078..4b7a533 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10 +10 @@ fixtures>=1.3.1 -keyring!=3.3,>=2.1 +keyring>=5.5.1 @@ -16,3 +16,2 @@ oslotest>=1.10.0 # Apache-2.0 -pycrypto>=2.6 -reno>=0.1.1 # Apache2 -requests-mock>=0.6.0 # Apache-2.0 +reno>=0.1.1 # Apache2 +requests-mock>=0.7.0 # Apache-2.0 @@ -20 +19 @@ sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -tempest-lib>=0.10.0 +tempest-lib>=0.13.0 @@ -22,0 +22 @@ testresources>=0.2.4 +testscenarios>=0.4 @@ -24 +23,0 @@ testtools>=1.4.0 -WebOb>=1.2.3