Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-glanceclient for openSUSE:Factory checked in at 2024-01-10 21:53:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-glanceclient (Old) and /work/SRC/openSUSE:Factory/.python-glanceclient.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-glanceclient" Wed Jan 10 21:53:23 2024 rev:38 rq:1137969 version:4.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-glanceclient/python-glanceclient.changes 2023-03-07 16:50:22.813599061 +0100 +++ /work/SRC/openSUSE:Factory/.python-glanceclient.new.21961/python-glanceclient.changes 2024-01-10 21:53:35.367004861 +0100 @@ -1,0 +2,13 @@ +Wed Jan 10 16:52:29 UTC 2024 - cloud-de...@suse.de + +- update to version 4.4.0 + - Release notes for 4.4.0 + - md-property-create: add a mandatory "--type" option + - Tox4: remove skipsdist + - Update master for stable/2023.1 + - do_image_import: fix argument retrieval + - Docs generation: mock the six module for autodoc + - Bump the CHUNKSIZE to use CPU more efficiently + - do_image_import: always pass remote_* to gc.images.image_import + +------------------------------------------------------------------- Old: ---- python-glanceclient-4.3.0.tar.gz New: ---- python-glanceclient-4.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-glanceclient.spec ++++++ --- /var/tmp/diff_new_pack.JQ725O/_old 2024-01-10 21:53:35.867023072 +0100 +++ /var/tmp/diff_new_pack.JQ725O/_new 2024-01-10 21:53:35.871023217 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-glanceclient # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: python-glanceclient -Version: 4.3.0 +Version: 4.4.0 Release: 0 Epoch: 0 Summary: Python API and CLI for OpenStack Glance License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/python-glanceclient -Source0: https://files.pythonhosted.org/packages/source/p/python-glanceclient/python-glanceclient-4.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/python-glanceclient/python-glanceclient-4.4.0.tar.gz BuildRequires: openstack-macros BuildRequires: python3-PrettyTable >= 0.7.1 BuildRequires: python3-ddt @@ -81,15 +81,15 @@ This package contains auto-generated documentation. %prep -%autosetup -p1 -n python-glanceclient-4.3.0 +%autosetup -p1 -n python-glanceclient-4.4.0 %py_req_cleanup %build %py3_build # generate html docs -PBR_VERSION=4.3.0 %sphinx_build -b html doc/source doc/build/html -PBR_VERSION=4.3.0 %sphinx_build -b man doc/source doc/build/man +PBR_VERSION=4.4.0 %sphinx_build -b html doc/source doc/build/html +PBR_VERSION=4.4.0 %sphinx_build -b man doc/source doc/build/man # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} rm -rf doc/build/man/.{doctrees,buildinfo} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.JQ725O/_old 2024-01-10 21:53:35.899024237 +0100 +++ /var/tmp/diff_new_pack.JQ725O/_new 2024-01-10 21:53:35.899024237 +0100 @@ -1,13 +1,13 @@ <services> - <service mode="disabled" name="renderspec"> + <service mode="manual" name="renderspec"> <param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/master/openstack/python-glanceclient/python-glanceclient.spec.j2</param> <param name="output-name">python-glanceclient.spec</param> <param name="requirements">https://opendev.org/openstack/python-glanceclient/raw/branch/stable/xena/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,python-glanceclient</param> </service> - <service mode="disabled" name="download_files"> + <service mode="manual" name="download_files"> </service> - <service name="format_spec_file" mode="disabled"/> + <service name="format_spec_file" mode="manual"/> </services> ++++++ python-glanceclient-4.3.0.tar.gz -> python-glanceclient-4.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/AUTHORS new/python-glanceclient-4.4.0/AUTHORS --- old/python-glanceclient-4.3.0/AUTHORS 2023-02-17 11:32:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/AUTHORS 2023-07-07 16:30:09.000000000 +0200 @@ -165,6 +165,7 @@ Nikhil Komawar <nik.koma...@gmail.com> Nikhil Komawar <nikhilskoma...@gmail.com> Noboru arai <a...@mxa.nes.nec.co.jp> +Nobuto Murata <nobuto.mur...@canonical.com> Oleksii Chuprykov <ochupry...@mirantis.com> OndÅej Nový <ondrej.n...@firma.seznam.cz> OpenStack Release Bot <infra-r...@openstack.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/ChangeLog new/python-glanceclient-4.4.0/ChangeLog --- old/python-glanceclient-4.3.0/ChangeLog 2023-02-17 11:32:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/ChangeLog 2023-07-07 16:30:09.000000000 +0200 @@ -1,6 +1,17 @@ CHANGES ======= +4.4.0 +----- + +* Release notes for 4.4.0 +* Docs generation: mock the six module for autodoc +* Bump the CHUNKSIZE to use CPU more efficiently +* do\_image\_import: always pass remote\_\* to gc.images.image\_import +* Tox4: remove skipsdist +* do\_image\_import: fix argument retrieval +* Update master for stable/2023.1 + 4.3.0 ----- @@ -16,6 +27,7 @@ * schema\_args: Do not generate option for read-only properties * Replace osc with glance commands * Switch to 2023.1 Python3 unit tests and generic template name +* md-property-create: add a mandatory "--type" option * Update master for stable/zed 4.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/PKG-INFO new/python-glanceclient-4.4.0/PKG-INFO --- old/python-glanceclient-4.3.0/PKG-INFO 2023-02-17 11:32:00.971442200 +0100 +++ new/python-glanceclient-4.4.0/PKG-INFO 2023-07-07 16:30:10.094164000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: python-glanceclient -Version: 4.3.0 +Version: 4.4.0 Summary: OpenStack Image API Client Library Home-page: https://docs.openstack.org/python-glanceclient/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/doc/source/conf.py new/python-glanceclient-4.4.0/doc/source/conf.py --- old/python-glanceclient-4.3.0/doc/source/conf.py 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/doc/source/conf.py 2023-07-07 16:29:41.000000000 +0200 @@ -46,6 +46,9 @@ # text edit cycles. # execute "export SPHINX_DEBUG=1" in your terminal to disable +# TODO: remove this once no dependency uses six anymore +autodoc_mock_imports = ['six'] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/glanceclient/common/http.py new/python-glanceclient-4.4.0/glanceclient/common/http.py --- old/python-glanceclient-4.3.0/glanceclient/common/http.py 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/glanceclient/common/http.py 2023-07-07 16:29:41.000000000 +0200 @@ -40,7 +40,7 @@ LOG = logging.getLogger(__name__) USER_AGENT = 'python-glanceclient' -CHUNKSIZE = 1024 * 64 # 64kB +CHUNKSIZE = 1024 * 1024 # 1MiB REQ_ID_HEADER = 'X-OpenStack-Request-ID' TOKEN_HEADERS = ['X-Auth-Token', 'X-Service-Token'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/glanceclient/tests/unit/v2/test_shell_v2.py new/python-glanceclient-4.4.0/glanceclient/tests/unit/v2/test_shell_v2.py --- old/python-glanceclient-4.3.0/glanceclient/tests/unit/v2/test_shell_v2.py 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/glanceclient/tests/unit/v2/test_shell_v2.py 2023-07-07 16:29:41.000000000 +0200 @@ -2240,10 +2240,10 @@ def test_image_import_glance_download(self): args = self._make_args( - {'id': 'IMG-01', 'uri': None, 'remote-region': 'REGION2', - 'remote-image-id': 'IMG-02', + {'id': 'IMG-01', 'uri': None, 'remote_region': 'REGION2', + 'remote_image_id': 'IMG-02', 'import_method': 'glance-download', - 'remote-service-interface': 'public'}) + 'remote_service_interface': 'public'}) with mock.patch.object(self.gc.images, 'image_import') as mock_import: with mock.patch.object(self.gc.images, 'get') as mocked_get: with mock.patch.object(self.gc.images, @@ -2279,7 +2279,9 @@ test_shell.do_image_import(self.gc, args) mock_import.assert_called_once_with( 'IMG-02', 'glance-direct', None, stores=None, - all_stores=None, allow_failure=True, backend=None) + all_stores=None, allow_failure=True, + remote_region=None, remote_image_id=None, + remote_service_interface=None, backend=None) mocked_utils_print_image.assert_not_called() @mock.patch('glanceclient.common.utils.print_image') @@ -2940,13 +2942,15 @@ args = self._make_args({'namespace': 'MyNamespace', 'name': "MyProperty", 'title': "Title", + 'type': 'boolean', 'schema': '{}'}) with mock.patch.object(self.gc.metadefs_property, 'create') as mocked_create: expect_property = { 'namespace': 'MyNamespace', 'name': 'MyProperty', - 'title': 'Title' + 'title': 'Title', + 'type': 'boolean', } mocked_create.return_value = expect_property @@ -2955,13 +2959,15 @@ mocked_create.assert_called_once_with('MyNamespace', name='MyProperty', - title='Title') + title='Title', + type='boolean') utils.print_dict.assert_called_once_with(expect_property) def test_do_md_property_create_invalid_schema(self): args = self._make_args({'namespace': 'MyNamespace', 'name': "MyProperty", 'title': "Title", + 'type': "boolean", 'schema': 'Invalid'}) self.assertRaises(SystemExit, test_shell.do_md_property_create, self.gc, args) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/glanceclient/v2/shell.py new/python-glanceclient-4.4.0/glanceclient/v2/shell.py --- old/python-glanceclient-4.3.0/glanceclient/v2/shell.py 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/glanceclient/v2/shell.py 2023-07-07 16:29:41.000000000 +0200 @@ -778,9 +778,9 @@ all_stores = getattr(args, "os_all_stores", None) allow_failure = getattr(args, "os_allow_failure", True) uri = getattr(args, "uri", None) - remote_region = getattr(args, "remote-region", None) - remote_image_id = getattr(args, "remote-image-id", None) - remote_service_interface = getattr(args, "remote-service-interface", None) + remote_region = getattr(args, "remote_region", None) + remote_image_id = getattr(args, "remote_image_id", None) + remote_service_interface = getattr(args, "remote_service_interface", None) if not getattr(args, 'from_create', False): if (args.store and (stores or all_stores)) or (stores and all_stores): @@ -801,10 +801,14 @@ if getattr(args, 'from_create', False): # this command is being called "internally" so we can skip # validation -- just do the import and get out of here - gc.images.image_import(args.id, args.import_method, args.uri, - backend=backend, - stores=stores, all_stores=all_stores, - allow_failure=allow_failure) + gc.images.image_import( + args.id, args.import_method, args.uri, + remote_region=remote_region, + remote_image_id=remote_image_id, + remote_service_interface=remote_service_interface, + backend=backend, + stores=stores, all_stores=all_stores, + allow_failure=allow_failure) return # do input validation @@ -1218,6 +1222,8 @@ help=_('Property name displayed to the user.')) @utils.arg('--schema', metavar='<SCHEMA>', required=True, help=_('Valid JSON schema of a property.')) +@utils.arg('--type', metavar='<TYPE>', required=True, + help=_('Type of the property')) def do_md_property_create(gc, args): """Create a new metadata definitions property inside a namespace.""" try: @@ -1225,7 +1231,7 @@ except ValueError: utils.exit('Schema is not a valid JSON object.') else: - fields = {'name': args.name, 'title': args.title} + fields = {'name': args.name, 'title': args.title, 'type': args.type} fields.update(schema) new_property = gc.metadefs_property.create(args.namespace, **fields) utils.print_dict(new_property) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/python_glanceclient.egg-info/PKG-INFO new/python-glanceclient-4.4.0/python_glanceclient.egg-info/PKG-INFO --- old/python-glanceclient-4.3.0/python_glanceclient.egg-info/PKG-INFO 2023-02-17 11:32:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/python_glanceclient.egg-info/PKG-INFO 2023-07-07 16:30:09.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: python-glanceclient -Version: 4.3.0 +Version: 4.4.0 Summary: OpenStack Image API Client Library Home-page: https://docs.openstack.org/python-glanceclient/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/python_glanceclient.egg-info/SOURCES.txt new/python-glanceclient-4.4.0/python_glanceclient.egg-info/SOURCES.txt --- old/python-glanceclient-4.3.0/python_glanceclient.egg-info/SOURCES.txt 2023-02-17 11:32:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/python_glanceclient.egg-info/SOURCES.txt 2023-07-07 16:30:10.000000000 +0200 @@ -122,6 +122,7 @@ releasenotes/notes/3.1.0_Release-1337ddc753b88905.yaml releasenotes/notes/3.6.0_Release-04d3b5017747290b.yaml releasenotes/notes/4.3.0_Release-1a7acbd472e16c72.yaml +releasenotes/notes/4.4.0_Release-a3c89184f345e5a2.yaml releasenotes/notes/add-member-get-command-11c15e0a94ecd39a.yaml releasenotes/notes/add-support-for-glance-download-import-method-10525254db3e8e7a.yaml releasenotes/notes/boolean-properties-strict-checking-bdd624b5da81e723.yaml @@ -149,6 +150,7 @@ releasenotes/notes/rocky-2.11.0-ba936fd5e969198d.yaml releasenotes/notes/sess_client_grid-3c2101609110f413.yaml releasenotes/notes/validation-data-support-dfb2463914818cd2.yaml +releasenotes/source/2023.1.rst releasenotes/source/conf.py releasenotes/source/earlier.rst releasenotes/source/index.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/python_glanceclient.egg-info/pbr.json new/python-glanceclient-4.4.0/python_glanceclient.egg-info/pbr.json --- old/python-glanceclient-4.3.0/python_glanceclient.egg-info/pbr.json 2023-02-17 11:32:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/python_glanceclient.egg-info/pbr.json 2023-07-07 16:30:09.000000000 +0200 @@ -1 +1 @@ -{"git_version": "52fb6b2", "is_release": true} \ No newline at end of file +{"git_version": "62e6fc8", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/releasenotes/notes/4.4.0_Release-a3c89184f345e5a2.yaml new/python-glanceclient-4.4.0/releasenotes/notes/4.4.0_Release-a3c89184f345e5a2.yaml --- old/python-glanceclient-4.3.0/releasenotes/notes/4.4.0_Release-a3c89184f345e5a2.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/releasenotes/notes/4.4.0_Release-a3c89184f345e5a2.yaml 2023-07-07 16:29:41.000000000 +0200 @@ -0,0 +1,9 @@ +--- +fixes: + - | + Bug 2012442_: import image with glance-download return 400 + - | + Bug 1934626_: glanceclient has no support to add type while creating md-property for namespace + + .. _2012442: https://code.launchpad.net/bugs/2012442 + .. _1934626: https://code.launchpad.net/bugs/1934626 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/releasenotes/source/2023.1.rst new/python-glanceclient-4.4.0/releasenotes/source/2023.1.rst --- old/python-glanceclient-4.3.0/releasenotes/source/2023.1.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/python-glanceclient-4.4.0/releasenotes/source/2023.1.rst 2023-07-07 16:29:41.000000000 +0200 @@ -0,0 +1,6 @@ +=========================== +2023.1 Series Release Notes +=========================== + +.. release-notes:: + :branch: stable/2023.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/releasenotes/source/index.rst new/python-glanceclient-4.4.0/releasenotes/source/index.rst --- old/python-glanceclient-4.3.0/releasenotes/source/index.rst 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/releasenotes/source/index.rst 2023-07-07 16:29:41.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + 2023.1 zed yoga xena diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-glanceclient-4.3.0/tox.ini new/python-glanceclient-4.4.0/tox.ini --- old/python-glanceclient-4.3.0/tox.ini 2023-02-17 11:31:32.000000000 +0100 +++ new/python-glanceclient-4.4.0/tox.ini 2023-07-07 16:29:41.000000000 +0200 @@ -1,7 +1,6 @@ [tox] envlist = py39,pep8 minversion = 3.18.0 -skipsdist = True [testenv] usedevelop = True