From 9fb3c0a7713bae398cbea8ce1973efb9ae6fb96c4743df299610b559e7437a5a Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 13 Feb 2017 11:30:32 +0000 Subject: [PATCH 1/4] - update to version 2.6.0: - Replace 'assertTrue(a not in b)' with 'assertNotIn(a, b)' - Update reno for stable/newton - Add ploop in disk_format - Add request id to returned objects - Improve tools/tox_install.sh - Add Apache 2.0 license to source file - Add vhdx in disk_format - Move old oslo-incubator code out of openstack/common - Add alt text for badges - Show team and repo badges on README - Use import_versioned_module from oslo.utils - Remove unused _i18n.py shim. - switch from keystoneclient to keystoneauth - standardize release note page ordering - Enable release notes translation - Handle formatting of subcommand name in error output - Use constraints everywhere - Add support for community images - Updated from global requirements - Revert "Add last_request_id member to HTTPClient and SessionClient" OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-glanceclient?expand=0&rev=37 --- _service | 11 +++++------ python-glanceclient-2.5.0.tar.gz | 3 --- python-glanceclient-2.6.0.tar.gz | 3 +++ python-glanceclient.changes | 25 ++++++++++++++++++++++++ python-glanceclient.spec | 33 ++++++++++++++++---------------- 5 files changed, 50 insertions(+), 25 deletions(-) delete mode 100644 python-glanceclient-2.5.0.tar.gz create mode 100644 python-glanceclient-2.6.0.tar.gz diff --git a/_service b/_service index bfe0cf0..2bbde6d 100644 --- a/_service +++ b/_service @@ -1,13 +1,12 @@ - https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/python-glanceclient/python-glanceclient.spec.j2 + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/python-glanceclient/python-glanceclient.spec.j2 python-glanceclient.spec - https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt + cloud-devel@suse.de + gh,openstack,python-glanceclient - enable - - - enable + diff --git a/python-glanceclient-2.5.0.tar.gz b/python-glanceclient-2.5.0.tar.gz deleted file mode 100644 index 8354a96..0000000 --- a/python-glanceclient-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c510a089fb4dc8355d5db0de608361888b5e4e0c81e0d153ae1b1366bfb8a08 -size 157864 diff --git a/python-glanceclient-2.6.0.tar.gz b/python-glanceclient-2.6.0.tar.gz new file mode 100644 index 0000000..9e241e9 --- /dev/null +++ b/python-glanceclient-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59ce6ec4cb17e6cb5b94e12d4563a1b6fe2f6dd11c8e1d4e42e45073c76bcc0b +size 161852 diff --git a/python-glanceclient.changes b/python-glanceclient.changes index 8e748a1..f061f61 100644 --- a/python-glanceclient.changes +++ b/python-glanceclient.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Feb 13 11:29:11 UTC 2017 - cloud-devel@suse.de + +- update to version 2.6.0: + - Replace 'assertTrue(a not in b)' with 'assertNotIn(a, b)' + - Update reno for stable/newton + - Add ploop in disk_format + - Add request id to returned objects + - Improve tools/tox_install.sh + - Add Apache 2.0 license to source file + - Add vhdx in disk_format + - Move old oslo-incubator code out of openstack/common + - Add alt text for badges + - Show team and repo badges on README + - Use import_versioned_module from oslo.utils + - Remove unused _i18n.py shim. + - switch from keystoneclient to keystoneauth + - standardize release note page ordering + - Enable release notes translation + - Handle formatting of subcommand name in error output + - Use constraints everywhere + - Add support for community images + - Updated from global requirements + - Revert "Add last_request_id member to HTTPClient and SessionClient" + ------------------------------------------------------------------- Wed Aug 31 13:13:15 UTC 2016 - tbechtold@suse.com diff --git a/python-glanceclient.spec b/python-glanceclient.spec index c3b10e7..dafd988 100644 --- a/python-glanceclient.spec +++ b/python-glanceclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-glanceclient # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,34 +18,34 @@ %global sname python-glanceclient Name: python-glanceclient -Version: 2.5.0 +Version: 2.6.0 Release: 0 Summary: Python API and CLI for OpenStack Glance License: Apache-2.0 -Group: Development/Languages +Group: Development/Languages/Python Url: https://launchpad.net/%{sname} Source0: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz BuildRequires: openstack-macros -BuildRequires: python-PrettyTable >= 0.7 +BuildRequires: python-PrettyTable >= 0.7.1 BuildRequires: python-devel BuildRequires: python-fixtures >= 3.0.0 -BuildRequires: python-keystoneclient >= 2.0.0 +BuildRequires: python-keystoneclient >= 3.8.0 BuildRequires: python-mock >= 2.0 -BuildRequires: python-os-client-config >= 1.13.1 -BuildRequires: python-oslo.utils >= 3.16.0 -BuildRequires: python-pbr >= 1.6 +BuildRequires: python-os-client-config >= 1.22.0 +BuildRequires: python-oslo.utils >= 3.18.0 +BuildRequires: python-pbr >= 1.8 BuildRequires: python-reno >= 1.8.0 -BuildRequires: python-requests-mock >= 1.0 +BuildRequires: python-requests-mock >= 1.1 BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python-testscenarios >= 0.4 BuildRequires: python-testtools >= 1.4.0 BuildRequires: python-warlock >= 1.0.1 Requires: python-Babel >= 2.3.4 -Requires: python-PrettyTable >= 0.7 -Requires: python-keystoneclient >= 2.0.0 +Requires: python-PrettyTable >= 0.7.1 +Requires: python-keystoneclient >= 3.8.0 Requires: python-oslo.i18n >= 2.1.0 -Requires: python-oslo.utils >= 3.16.0 -Requires: python-pbr >= 1.6 +Requires: python-oslo.utils >= 3.18.0 +Requires: python-pbr >= 1.8 Requires: python-requests >= 2.10.0 Requires: python-six >= 1.9.0 Requires: python-warlock >= 1.0.1 @@ -57,10 +57,10 @@ glanceclient module), and a command-line script (glance). Each implements 100% of the OpenStack Glance API. %package doc -Summary: Documentation for OpenStack Nova API Client +Summary: Documentation for OpenStack Glance API Client Group: Documentation BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 2.5.0 +BuildRequires: python-oslosphinx >= 4.7.0 %description doc This is a client for the OpenStack Glance API. There's a Python API (the @@ -69,7 +69,8 @@ glanceclient module), and a command-line script (glance). Each implements This package contains auto-generated documentation. %prep -%setup -q -n %{sname}-%{version} +%autosetup -n %{sname}-%{version} +%py_req_cleanup %build %py2_build From a4653e9167fd82261173eb4c1156045c28ba3cd69784efae4db62545e83f7f1d Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 23 Jun 2017 16:03:14 +0000 Subject: [PATCH 2/4] - Explicit build html and man page docs OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-glanceclient?expand=0&rev=38 --- python-glanceclient.changes | 5 +++++ python-glanceclient.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-glanceclient.changes b/python-glanceclient.changes index f061f61..a53125a 100644 --- a/python-glanceclient.changes +++ b/python-glanceclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 23 15:57:12 UTC 2017 - tbechtold@suse.com + +- Explicit build html and man page docs + ------------------------------------------------------------------- Mon Feb 13 11:29:11 UTC 2017 - cloud-devel@suse.de diff --git a/python-glanceclient.spec b/python-glanceclient.spec index dafd988..69dda23 100644 --- a/python-glanceclient.spec +++ b/python-glanceclient.spec @@ -76,7 +76,7 @@ This package contains auto-generated documentation. %py2_build # generate html docs -%{__python2} setup.py build_sphinx +%{__python2} setup.py build_sphinx --builder=html,man # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} From be5c83312dad439b028905980b22226258eabc67051aea2957bebb854a386579 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 7 Aug 2017 09:02:33 +0000 Subject: [PATCH 3/4] - update to version 2.7.0 - Downloading image with --progress fails - Replace functions 'dict.get' and 'del' with 'dict.pop' - Remove references to Python 3.4 - Replace dict.iteritems() with dict.items() - Downloading image with --progress fails for python3 - v2: Content-Type: application/octet-stream header always added - Allow global_request_id in Client constructor - Update test requirement - Explicitly set 'builders' option - Convert IOError from requests - Update reno for stable/ocata - x-openstack-request-id logged twice in logs - Updated from global requirements - Use Sphinx 1.5 warning-is-error OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-glanceclient?expand=0&rev=39 --- _service | 4 ++-- python-glanceclient-2.6.0.tar.gz | 3 --- python-glanceclient-2.7.0.tar.gz | 3 +++ python-glanceclient.changes | 19 +++++++++++++++++++ python-glanceclient.spec | 19 ++++++++++++------- 5 files changed, 36 insertions(+), 12 deletions(-) delete mode 100644 python-glanceclient-2.6.0.tar.gz create mode 100644 python-glanceclient-2.7.0.tar.gz diff --git a/_service b/_service index 2bbde6d..85ae17d 100644 --- a/_service +++ b/_service @@ -1,8 +1,8 @@ - https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/python-glanceclient/python-glanceclient.spec.j2 + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/python-glanceclient/python-glanceclient.spec.j2 python-glanceclient.spec - https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt cloud-devel@suse.de gh,openstack,python-glanceclient diff --git a/python-glanceclient-2.6.0.tar.gz b/python-glanceclient-2.6.0.tar.gz deleted file mode 100644 index 9e241e9..0000000 --- a/python-glanceclient-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59ce6ec4cb17e6cb5b94e12d4563a1b6fe2f6dd11c8e1d4e42e45073c76bcc0b -size 161852 diff --git a/python-glanceclient-2.7.0.tar.gz b/python-glanceclient-2.7.0.tar.gz new file mode 100644 index 0000000..34c65f9 --- /dev/null +++ b/python-glanceclient-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:593d1b34aaa5d22b8cad1d5aefc2a1f4b395bea14eeed35cab136811487efe00 +size 162032 diff --git a/python-glanceclient.changes b/python-glanceclient.changes index a53125a..e741a24 100644 --- a/python-glanceclient.changes +++ b/python-glanceclient.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Aug 7 09:01:26 UTC 2017 - cloud-devel@suse.de + +- update to version 2.7.0 + - Downloading image with --progress fails + - Replace functions 'dict.get' and 'del' with 'dict.pop' + - Remove references to Python 3.4 + - Replace dict.iteritems() with dict.items() + - Downloading image with --progress fails for python3 + - v2: Content-Type: application/octet-stream header always added + - Allow global_request_id in Client constructor + - Update test requirement + - Explicitly set 'builders' option + - Convert IOError from requests + - Update reno for stable/ocata + - x-openstack-request-id logged twice in logs + - Updated from global requirements + - Use Sphinx 1.5 warning-is-error + ------------------------------------------------------------------- Fri Jun 23 15:57:12 UTC 2017 - tbechtold@suse.com diff --git a/python-glanceclient.spec b/python-glanceclient.spec index 69dda23..35434a6 100644 --- a/python-glanceclient.spec +++ b/python-glanceclient.spec @@ -18,7 +18,7 @@ %global sname python-glanceclient Name: python-glanceclient -Version: 2.6.0 +Version: 2.7.0 Release: 0 Summary: Python API and CLI for OpenStack Glance License: Apache-2.0 @@ -31,9 +31,9 @@ BuildRequires: python-devel BuildRequires: python-fixtures >= 3.0.0 BuildRequires: python-keystoneclient >= 3.8.0 BuildRequires: python-mock >= 2.0 -BuildRequires: python-os-client-config >= 1.22.0 -BuildRequires: python-oslo.utils >= 3.18.0 -BuildRequires: python-pbr >= 1.8 +BuildRequires: python-os-client-config >= 1.27.0 +BuildRequires: python-oslo.utils >= 3.20.0 +BuildRequires: python-pbr >= 2.0.0 BuildRequires: python-reno >= 1.8.0 BuildRequires: python-requests-mock >= 1.1 BuildRequires: python-testrepository >= 0.0.18 @@ -44,9 +44,9 @@ Requires: python-Babel >= 2.3.4 Requires: python-PrettyTable >= 0.7.1 Requires: python-keystoneclient >= 3.8.0 Requires: python-oslo.i18n >= 2.1.0 -Requires: python-oslo.utils >= 3.18.0 -Requires: python-pbr >= 1.8 -Requires: python-requests >= 2.10.0 +Requires: python-oslo.utils >= 3.20.0 +Requires: python-pbr >= 2.0.0 +Requires: python-requests >= 2.14.2 Requires: python-six >= 1.9.0 Requires: python-warlock >= 1.0.1 BuildArch: noarch @@ -86,7 +86,12 @@ rm -rf doc/build/html/.{doctrees,buildinfo} install -p -D -m 644 doc/build/man/glance.1 %{buildroot}%{_mandir}/man1/glance.1 %check +%if 0%{?rhel} || 0%{?fedora} +# disable tests until rdo updated to requests > 2.14 +true +%else %{__python2} setup.py testr +%endif %files %license LICENSE From d97ee36ee6224761ba414bb53daa06e6848699ae13db903d79f43208081d0859 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 25 Aug 2017 08:21:26 +0000 Subject: [PATCH 4/4] - update to version 2.8.0 - help text for container_format, disk_format - Removed the --no-ssl-compression parameter which is deprecated - add explicit dependency on pyopenssl - Remove team:diverse-affiliation from tags - Validate input args before trying image download - Fix 'UnicodeEncodeError' for unicode values in url - Add image import features to client - Update glanceclient version ref - Make --profile load from environment variables - use openstackdocstheme html context - Replace six.iteritems() with .items() - Update and optimize documentation links - Add missing docstring - Replace assertTrue(isinstance()) with assertIsInstance() - move existing content into the new standard structure - Fix man page build - turn on warning-is-error in sphinx build - doc: Remove cruft from conf.py - Add release note for Pike - gitignore: Ignore auto-generated docs - update the doc URLs in the readme - Remove log translations - move old release notes into the releasenotes doc tree - Updated from global requirements - import content from cli-reference in openstack-manuals - Enable code coverage report in console output - switch to openstackdocstheme - Add documentation for image import commands - allow unhandled exceptions to cause test errors OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-glanceclient?expand=0&rev=40 --- python-glanceclient-2.7.0.tar.gz | 3 --- python-glanceclient-2.8.0.tar.gz | 3 +++ python-glanceclient.changes | 34 ++++++++++++++++++++++++++++++++ python-glanceclient.spec | 10 +++++++--- 4 files changed, 44 insertions(+), 6 deletions(-) delete mode 100644 python-glanceclient-2.7.0.tar.gz create mode 100644 python-glanceclient-2.8.0.tar.gz diff --git a/python-glanceclient-2.7.0.tar.gz b/python-glanceclient-2.7.0.tar.gz deleted file mode 100644 index 34c65f9..0000000 --- a/python-glanceclient-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:593d1b34aaa5d22b8cad1d5aefc2a1f4b395bea14eeed35cab136811487efe00 -size 162032 diff --git a/python-glanceclient-2.8.0.tar.gz b/python-glanceclient-2.8.0.tar.gz new file mode 100644 index 0000000..3752dd5 --- /dev/null +++ b/python-glanceclient-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26795c19d9b5a2ec54dfc023f5ea869f8b8ae772669606b4af9125a2db51a813 +size 177172 diff --git a/python-glanceclient.changes b/python-glanceclient.changes index e741a24..81cf881 100644 --- a/python-glanceclient.changes +++ b/python-glanceclient.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Aug 25 08:18:52 UTC 2017 - cloud-devel@suse.de + +- update to version 2.8.0 + - help text for container_format, disk_format + - Removed the --no-ssl-compression parameter which is deprecated + - add explicit dependency on pyopenssl + - Remove team:diverse-affiliation from tags + - Validate input args before trying image download + - Fix 'UnicodeEncodeError' for unicode values in url + - Add image import features to client + - Update glanceclient version ref + - Make --profile load from environment variables + - use openstackdocstheme html context + - Replace six.iteritems() with .items() + - Update and optimize documentation links + - Add missing docstring + - Replace assertTrue(isinstance()) with assertIsInstance() + - move existing content into the new standard structure + - Fix man page build + - turn on warning-is-error in sphinx build + - doc: Remove cruft from conf.py + - Add release note for Pike + - gitignore: Ignore auto-generated docs + - update the doc URLs in the readme + - Remove log translations + - move old release notes into the releasenotes doc tree + - Updated from global requirements + - import content from cli-reference in openstack-manuals + - Enable code coverage report in console output + - switch to openstackdocstheme + - Add documentation for image import commands + - allow unhandled exceptions to cause test errors + ------------------------------------------------------------------- Mon Aug 7 09:01:26 UTC 2017 - cloud-devel@suse.de diff --git a/python-glanceclient.spec b/python-glanceclient.spec index 35434a6..3ede1b7 100644 --- a/python-glanceclient.spec +++ b/python-glanceclient.spec @@ -18,7 +18,7 @@ %global sname python-glanceclient Name: python-glanceclient -Version: 2.7.0 +Version: 2.8.0 Release: 0 Summary: Python API and CLI for OpenStack Glance License: Apache-2.0 @@ -34,6 +34,7 @@ BuildRequires: python-mock >= 2.0 BuildRequires: python-os-client-config >= 1.27.0 BuildRequires: python-oslo.utils >= 3.20.0 BuildRequires: python-pbr >= 2.0.0 +BuildRequires: python-pyOpenSSL >= 0.14 BuildRequires: python-reno >= 1.8.0 BuildRequires: python-requests-mock >= 1.1 BuildRequires: python-testrepository >= 0.0.18 @@ -42,13 +43,15 @@ BuildRequires: python-testtools >= 1.4.0 BuildRequires: python-warlock >= 1.0.1 Requires: python-Babel >= 2.3.4 Requires: python-PrettyTable >= 0.7.1 -Requires: python-keystoneclient >= 3.8.0 +Requires: python-keystoneauth1 >= 2.21.0 Requires: python-oslo.i18n >= 2.1.0 Requires: python-oslo.utils >= 3.20.0 Requires: python-pbr >= 2.0.0 +Requires: python-pyOpenSSL >= 0.14 Requires: python-requests >= 2.14.2 Requires: python-six >= 1.9.0 Requires: python-warlock >= 1.0.1 +Requires: python-wrapt >= 1.7.0 BuildArch: noarch %description @@ -60,7 +63,7 @@ glanceclient module), and a command-line script (glance). Each implements Summary: Documentation for OpenStack Glance API Client Group: Documentation BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 4.7.0 +BuildRequires: python-openstackdocstheme >= 1.11.0 %description doc This is a client for the OpenStack Glance API. There's a Python API (the @@ -71,6 +74,7 @@ This package contains auto-generated documentation. %prep %autosetup -n %{sname}-%{version} %py_req_cleanup +sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %py2_build