We are stoked to announce the release of: python-glanceclient 2.11.1: OpenStack Image API Client Library This release is part of the rocky release series. The source is available from: https://git.openstack.org/cgit/openstack/python-glanceclient Download the package from: https://pypi.org/project/python-glanceclient Please report issues through launchpad: https://bugs.launchpad.net/python-glanceclient For more details, please see below. 2.11.1 ^^^^^^ Bug Fixes * Bug 1766235: Handle HTTP headers per RFC 8187 Previously the glanceclient encoded HTTP headers as UTF-8 bytes. According to RFC 8187, however, headers should be encoded as 7-bit ASCII. The glanceclient now sends all headers as 7-bit ASCII. It handles unicode strings by percent-encoding them before sending them in headers. (https://code.launchpad.net/bugs/1766235) (https://tools.ietf.org/html/rfc8187) (https://tools.ietf.org/html/rfc3986#section-2.1) Changes in python-glanceclient 2.11.0..2.11.1 --------------------------------------------- c918dae Add release note for HTTP headers fix c191922 Remove functional-identity-v3-only job 7edb378 Switch to using stestr abfe0f4 Image show: print human readable string when the virtual size is unknown dd66759 Add periodic tips jobs ee029a9 Handle HTTP headers per RFC 8187 9ecda26 Update property keys document 730cdcb Trivial: Update pypi url to new url a8003ec Follow the new PTI for document build 32b8307 Split glanceclient functional tests 1bef137 Remove usage of ordereddict 195add5 Removes unicode 'u' response from "glance image-tag-update" 89c55e7 Enable Python hash seed randomization in tests Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .stestr.conf | 3 + .testr.conf | 4 - .zuul.yaml | 104 +++++- README.rst | 6 +- glanceclient/common/http.py | 23 +- glanceclient/common/utils.py | 33 ++ lower-constraints.txt | 5 +- ...http-headers-per-rfc-8187-aafa3199f863be81.yaml | 14 + requirements.txt | 2 +- setup.cfg | 16 - test-requirements.txt | 5 +- tools/fix_ca_bundle.sh | 4 +- tox.ini | 38 ++- 30 files changed, 555 insertions(+), 581 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index e849053..25b670a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ PrettyTable<0.8,>=0.7.1 # BSD -keystoneauth1>=3.4.0 # Apache-2.0 +keystoneauth1>=3.6.2 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 43987fa..0424393 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,4 +9 @@ os-client-config>=1.28.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD -testrepository>=0.0.18 # Apache-2.0/BSD +stestr>=2.0.0 # Apache-2.0