We high-spiritedly announce the release of: keystoneauth1 3.15.0: Authentication Library for OpenStack Identity This release is part of the train release series. The source is available from: https://opendev.org/openstack/keystoneauth1 Download the package from: https://pypi.org/project/keystoneauth1 For more details, please see below. 3.15.0 ^^^^^^ New Features ************ * Fix handling of HTTP error payloads that conform to the API SIG formatting guidelines. * The "X-Openstack-Request-Id" header can now be set per-request via a "global_request_id" kwarg to "Adapter" and "Session" request methods ("request()", "get()", "put()", etc.) * The Adapter parameters "connect_retries" and "status_code_retries" can now be set via configuration options "connect-retries" and "status-code-retries" accordingly. Bug Fixes ********* * Add logic to handle HTTP error responses that do not conform to a known schema. * The retry interval for retries enabled by "connect_retries" and "status_code_retries" is now limited at 60 seconds. Previously it would grow exponentially. Changes in keystoneauth1 3.14.0..3.15.0 --------------------------------------- 3fd9ce7 reno: per-request global_request_id df57e0e Add a per-request global_request_id 92ec14c Add Python 3 Train unit tests b56a2a8 Cap bandit 34c005a Limit interval between retries to 1 minute 92921c6 Allow setting retry counts for Adapter via configuration options 96559d6 add a handler for unknown HTTP errors 01d2da9 add handling for multiple error returns 0682135 Replace git.openstack.org URLs with opendev.org URLs 70720ff Blacklist bandit 1.6.0 & cap sphinx for 2.7 2bb7f12 Resolves a typo in a link to use Application Credentials 9f1b960 OpenDev Migration Patch Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 3 +- README.rst | 2 +- keystoneauth1/exceptions/http.py | 26 +++ keystoneauth1/loading/adapter.py | 62 ++++--- keystoneauth1/session.py | 25 ++- .../notes/api-sig-error-guideline-handler.yaml | 4 + ...al_request_id-per-request-bd66c7e0f1a71d9f.yaml | 6 + .../notes/improve-http-error-handling.yaml | 4 + .../notes/retries-limit-dbaedcb3207934ae.yaml | 6 + .../notes/retries-options-99e4dbc240941557.yaml | 6 + test-requirements.txt | 3 +- tox.ini | 8 +- 18 files changed, 330 insertions(+), 56 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index cbe7e9e..879b3f4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9 +9 @@ flake8-import-order>=0.17.1 #LGPLv3 -bandit>=1.1.0 # Apache-2.0 +bandit<1.6.0,>=1.1.0 # Apache-2.0 @@ -20 +19,0 @@ requests-mock>=1.2.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD