[release-announce] [glance] python-glanceclient 2.6.0 (ocata)

no-reply at openstack.org no-reply at openstack.org
Tue Jan 24 17:41:37 UTC 2017


We are happy to announce the release of:

python-glanceclient 2.6.0: OpenStack Image API Client Library

This release is part of the ocata release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/python-glanceclient

Download the package from:

    https://pypi.python.org/pypi/python-glanceclient

Please report issues through launchpad:

    https://bugs.launchpad.net/python-glanceclient

For more details, please see below.

2.6.0
^^^^^

Switch to using keystoneauth for session and auth plugins.


New Features
************

* Added support to return "x-openstack-request-id" header in
  request_ids attribute for better tracing. | For ex. | >>> from
  glanceclient import Client | >>> glance = Client('2',
  endpoint='OS_IMAGE_ENDPOINT', token='OS_AUTH_TOKEN') | >>> res =
  glance.images.get('<image_id>') | >>> res.request_ids


Other Notes
***********

* [bp use-keystoneauth (https://blueprints.launchpad.net/python-
  glanceclient/+spec/use-keystoneauth)] As of keystoneclient 2.2.0,
  the session and auth plugins code has been deprecated. These modules
  have been moved to the keystoneauth library. Consumers of the
  session and plugin modules are encouraged to move to keystoneauth.
  Note that there should be no change to end users of glanceclient.

Changes in python-glanceclient 2.5.0..2.6.0
-------------------------------------------

9afb56c Updated from global requirements
610177a Add request id to returned objects
6ab6a74 Add ploop in disk_format
54e6faa Updated from global requirements
81039a1 Handle formatting of subcommand name in error output
efb5e2a Add vhdx in disk_format
07e0cb9 Updated from global requirements
4773c96 Use import_versioned_module from oslo.utils
611401d Updated from global requirements
1505a47 Add alt text for badges
36aeb8c Show team and repo badges on README
20ab7b8 Add support for community images
bcbd2af Updated from global requirements
c289899 Move old oslo-incubator code out of openstack/common
dca9530 Updated from global requirements
5b5eeb4 Enable release notes translation
7a6cd5e Add Apache 2.0 license to source file
6e0ef89 Updated from global requirements
aba02ea Remove unused _i18n.py shim.
bd092e9 Updated from global requirements
47e289b Replace 'assertTrue(a not in b)' with 'assertNotIn(a, b)'
3bb2821 Updated from global requirements
8c78a97 Updated from global requirements
4af7d7d standardize release note page ordering
e2eb44e Updated from global requirements
a9115b4 switch from keystoneclient to keystoneauth
27f0c35 Improve tools/tox_install.sh
546a9be Use constraints everywhere
fec9b5f Update reno for stable/newton
7d106c6 Revert "Add last_request_id member to HTTPClient and SessionClient"


Diffstat (except docs and test files)
-------------------------------------

.coveragerc                                        |   1 -
README.rst                                         |  20 +
glanceclient/client.py                             |   9 +-
glanceclient/common/base.py                        |  35 --
glanceclient/common/exceptions.py                  |  12 +
glanceclient/common/http.py                        |  12 +-
glanceclient/common/utils.py                       |  82 +++-
glanceclient/openstack/__init__.py                 |   0
glanceclient/openstack/common/__init__.py          |   0
glanceclient/openstack/common/_i18n.py             |  45 --
.../openstack/common/apiclient/__init__.py         |   0
glanceclient/openstack/common/apiclient/auth.py    | 234 ---------
glanceclient/openstack/common/apiclient/base.py    | 529 ---------------------
.../openstack/common/apiclient/exceptions.py       | 477 -------------------
glanceclient/openstack/common/apiclient/utils.py   | 100 ----
glanceclient/shell.py                              | 110 +++--
glanceclient/v1/apiclient/__init__.py              |   0
glanceclient/v1/apiclient/base.py                  | 529 +++++++++++++++++++++
glanceclient/v1/apiclient/exceptions.py            | 477 +++++++++++++++++++
glanceclient/v1/apiclient/utils.py                 |  98 ++++
glanceclient/v1/image_members.py                   |   2 +-
glanceclient/v1/images.py                          |   2 +-
glanceclient/v1/shell.py                           |   2 +-
glanceclient/v1/versions.py                        |   2 +-
glanceclient/v2/image_members.py                   |  15 +-
glanceclient/v2/image_schema.py                    |   6 +-
glanceclient/v2/image_tags.py                      |   8 +-
glanceclient/v2/images.py                          |  79 ++-
glanceclient/v2/metadefs.py                        | 150 ++++--
glanceclient/v2/tasks.py                           |  17 +-
.../bp-use-keystoneauth-e12f300e58577b13.yaml      |  11 +
...turn-request-id-to-caller-47f4c0a684b1d88e.yaml |  10 +
releasenotes/source/conf.py                        |   3 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/newton.rst                     |   6 +
requirements.txt                                   |  11 +-
test-requirements.txt                              |  12 +-
tools/tox_install.sh                               |  66 +--
tox.ini                                            |  11 +-
57 files changed, 1989 insertions(+), 1768 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 39807ac..d986545 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4 +4 @@
-pbr>=1.6 # Apache-2.0
+pbr>=1.8 # Apache-2.0
@@ -6,3 +6,3 @@ Babel>=2.3.4 # BSD
-PrettyTable<0.8,>=0.7 # BSD
-python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0
-requests>=2.10.0 # Apache-2.0
+PrettyTable<0.8,>=0.7.1 # BSD
+keystoneauth1>=2.18.0 # Apache-2.0
+requests!=2.12.2,>=2.10.0 # Apache-2.0
@@ -11 +11 @@ six>=1.9.0 # MIT
-oslo.utils>=3.16.0 # Apache-2.0
+oslo.utils>=3.18.0 # Apache-2.0
@@ -12,0 +13 @@ oslo.i18n>=2.1.0 # Apache-2.0
+wrapt>=1.7.0 # BSD License
diff --git a/test-requirements.txt b/test-requirements.txt
index c1acf76..0fa3ae7 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6 +6 @@ hacking<0.11,>=0.10.0
-coverage>=3.6 # Apache-2.0
+coverage>=4.0 # Apache-2.0
@@ -9,4 +9,4 @@ ordereddict # MIT
-os-client-config!=1.19.0,!=1.19.1,!=1.20.0,>=1.13.1 # Apache-2.0
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
-reno>=1.8.0 # Apache2
-sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
+os-client-config>=1.22.0 # Apache-2.0
+oslosphinx>=4.7.0 # Apache-2.0
+reno>=1.8.0 # Apache-2.0
+sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
@@ -17 +17 @@ fixtures>=3.0.0 # Apache-2.0/BSD
-requests-mock>=1.0 # Apache-2.0
+requests-mock>=1.1 # Apache-2.0





More information about the Release-announce mailing list