We are gleeful to announce the release of: python-zaqarclient 1.0.0: Client Library for OpenStack Zaqar Messaging API This release is part of the mitaka release series. With source available at: https://git.openstack.org/cgit/openstack/python-zaqarclient With package available at: https://pypi.python.org/pypi/python-zaqarclient Please report issues through launchpad: https://bugs.launchpad.net/python-zaqarclient For more details, please see below. Changes in python-zaqarclient 0.3.0..1.0.0 ------------------------------------------ 3152321 Support PATCH of queue metadata 2255e16 "pool_group" word should be used instead "pool" f985063 Update pool on pool create if it exists 98aa3db Update flavor on flavor create if it exists 87f0fb5 Make TransportErrors more descriptive aa37232 Remove unused pngmath Sphinx extension 8c7ae92 Raise ConflictError like other transport errors 8eaf813 Do not catch ConflictError on subscription create 47f1bfc Add subscriptions for queue object 2bd19bd Updated from global requirements ae5498a Support claims for v2 0e2f625 Fix wrong api version type f24a7e9 Improve subscription listing 2966750 Fix Subscription's queue_name variable being tuple d993d02 Add CLI support for signed URLs 0103f39 Fix queue stats for v1.1 and above versions 640f56a Fix client not working on Python 3 4008744 Updated from global requirements 474e82f Clean up flavor test classes 4d4ad85 Fix typo preventing queue list for v1 80474c7 Add a way to create a signed URL from a queue fc00f4c Use API version checking directly 909d0c6 Updated from global requirements e97a783 Fixing the deprecated library function 8962837 Add Support for subscription list v2 4241ec9 Add support for subscription show v2 7d7987b Expose more CLI commands for v2 4d48c7e Add support for subscription delete v2 5a7fdc6 Add support for subscription update v2 8ca7477 Add support for subscription create v2 e8c3039 Claim release CLI support for v1 cef4f9b Claim renew CLI support for v1 4d020c4 Query claim CLI support for v1 31a57b2 Flavor list support for v2 94751c5 Handle os_auth_token option in keystone config 560fc4b Flavor create CLI support for v2 c962a9c Updated from global requirements b90254f Fix bad "pool list" api v2 entry point for CLI a84e620 Claim create CLI support for v1 15e8044 Put py34 first in the env order of tox 74e29b1 Make sure queue create works for cli facfa96 Replace assertEqual(None, *) with assertIsNone in tests 947ac04 Added support to claims 94bbe90 Updated from global requirements 1e4025f Flavor update cli support for v2 ae00b92 Flavor show cli support for v2 d49cdd8 Drop py33 support fbbe145 Fix freeze of Claim object's age property 120f3a1 Deprecated tox -downloadcache option removed bafe733 Add cli support for flavor create v1 a0b1669 Updated from global requirements c1a7a60 Delete CLI for Get/SetQueueMetadata which is API-v1 only 0095c33 Expose CLI commands for v2 2aee31c Delete CLI for CheckQueueExistence which is <=v1.1 only bc123ad Refactor the test for v2 queues and messages 430b38d Add support for flavor list v1 8fcd7d4 Add cli support for flavor show v1 c5e43aa Updated from global requirements 22d27d4 Using clouds.yaml to get the credentials 66b703c Remove py26 support a995ccf delete python bytecode before every test run 3c2439c Pool & flavor cli implementation for v2 c5db8fd Pool list cli support for v2 6536d85 Pool delete cli support for v2 c593f97 Add cli support for flavor update v1 09b06ee Pool update support for v2 61d9b16 Added pool list support for v1 3a86c2a Fix unexpected output of pools() a470f51 Updated from global requirements b0d412e Add `pool` support for v2 1ef4a95 Add `flavor` support for v2 808ea8b Implement CLI support for pool delete 1c4d353 Added pool update support for v1 844a5f5 Attaching a default project_id 007663a Pool show support for v2 603e22a Added pool show support to v1 4031201 Fix create pool error 4010451 Support creating signed url's in client 0bc9791 Fix client UnauthorizedError 124ac0a Updated from global requirements 05cd82e Added cli implementation for v2 58edaaf Remove periods of docstring 157b634 Added API_VERSION for v2 Diffstat (except docs and test files) ------------------------------------- requirements.txt | 12 +- setup.cfg | 42 +- test-requirements.txt | 30 +- tox.ini | 8 +- zaqarclient/auth/__init__.py | 8 +- zaqarclient/auth/keystone.py | 24 +- zaqarclient/auth/signed_url.py | 40 ++ zaqarclient/queues/cli.py | 31 +- zaqarclient/queues/v1/api.py | 9 + zaqarclient/queues/v1/claim.py | 3 +- zaqarclient/queues/v1/cli.py | 536 +++++++++++++++++++++--- zaqarclient/queues/v1/client.py | 6 +- zaqarclient/queues/v1/core.py | 25 ++ zaqarclient/queues/v1/flavor.py | 36 +- zaqarclient/queues/v1/pool.py | 42 +- zaqarclient/queues/v1/queues.py | 36 +- zaqarclient/queues/v2/api.py | 71 ++++ zaqarclient/queues/v2/claim.py | 20 + zaqarclient/queues/v2/cli.py | 395 +++++++++++++++++ zaqarclient/queues/v2/client.py | 50 +++ zaqarclient/queues/v2/core.py | 179 ++++++++ zaqarclient/queues/v2/flavor.py | 20 + zaqarclient/queues/v2/message.py | 19 + zaqarclient/queues/v2/pool.py | 20 + zaqarclient/queues/v2/queues.py | 29 +- zaqarclient/queues/v2/subscription.py | 79 ++++ zaqarclient/transport/errors.py | 35 +- zaqarclient/transport/http.py | 16 +- zaqarclient/transport/request.py | 14 +- zaqarclient/transport/response.py | 8 +- 60 files changed, 2455 insertions(+), 341 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 81c8a1c..fcbf382 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,3 @@ -pbr>=1.6 -requests>=2.5.2 -six>=1.9.0 +pbr>=1.6 # Apache-2.0 +requests!=2.9.0,>=2.8.1 # Apache-2.0 +six>=1.9.0 # MIT @@ -8 +8 @@ stevedore>=1.5.0 # Apache-2.0 -jsonschema!=2.5.0,<3.0.0,>=2.0.0 +jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT @@ -11 +11 @@ jsonschema!=2.5.0,<3.0.0,>=2.0.0 -oslo.i18n>=1.5.0 # Apache-2.0 +oslo.i18n>=2.1.0 # Apache-2.0 @@ -13 +13 @@ oslo.i18n>=1.5.0 # Apache-2.0 -python-keystoneclient>=1.6.0 +python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 49bbf52..ffaa87b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,6 +8,6 @@ hacking<0.11,>=0.10.2 -discover -fixtures>=1.3.1 -mock>=1.2 -python-subunit>=0.0.18 -testrepository>=0.0.18 -testtools>=1.4.0 +discover # BSD +fixtures>=1.3.1 # Apache-2.0/BSD +mock>=1.2 # BSD +python-subunit>=0.0.18 # Apache-2.0/BSD +testrepository>=0.0.18 # Apache-2.0/BSD +testtools>=1.4.0 # MIT @@ -16,3 +16,3 @@ testtools>=1.4.0 -nose -nose-exclude -openstack.nose-plugin>=0.7 +nose # LGPL +nose-exclude # LGPL +openstack.nose-plugin>=0.7 # Apache-2.0 @@ -21 +21 @@ openstack.nose-plugin>=0.7 -coverage>=3.6 +coverage>=3.6 # Apache-2.0 @@ -23 +23 @@ coverage>=3.6 -ddt>=0.7.0 +ddt>=1.0.1 # MIT @@ -26,3 +26,5 @@ ddt>=0.7.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -oslosphinx>=2.5.0 # Apache-2.0 -openstack-doc-tools>=0.23 +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +os-client-config>=1.13.1 # Apache-2.0 +oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +openstack-doc-tools>=0.23 # Apache-2.0 +python-openstackclient>=2.1.0 # Apache-2.0