Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-magnumclient for
openSUSE:Factory checked in at 2021-05-10 15:37:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-magnumclient (Old)
and /work/SRC/openSUSE:Factory/.python-magnumclient.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-magnumclient"
Mon May 10 15:37:27 2021 rev:12 rq:889973 version:3.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-magnumclient/python-magnumclient.changes
2020-10-26 16:16:24.742939906 +0100
+++
/work/SRC/openSUSE:Factory/.python-magnumclient.new.2988/python-magnumclient.changes
2021-05-10 15:39:38.661499342 +0200
@@ -1,0 +2,10 @@
+Sun May 2 17:21:08 UTC 2021 - [email protected]
+
+- update to version 3.4.0
+ - Show docker_volume_size in `cluster show`
+ - Uncap PrettyTable
+ - Add CT tags argument and field to client
+ - Nodegroup min_node_count should default to 0
+ - Drop lower constraints testing
+
+-------------------------------------------------------------------
Old:
----
python-magnumclient-3.2.1.tar.gz
New:
----
python-magnumclient-3.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-magnumclient.spec ++++++
--- /var/tmp/diff_new_pack.QgcvFE/_old 2021-05-10 15:39:39.149497345 +0200
+++ /var/tmp/diff_new_pack.QgcvFE/_new 2021-05-10 15:39:39.149497345 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-magnumclient
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-magnumclient
-Version: 3.2.1
+Version: 3.4.0
Release: 0
Summary: Python API and CLI for OpenStack Magnum
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://launchpad.net/python-magnumclient
-Source0:
https://files.pythonhosted.org/packages/source/p/python-magnumclient/python-magnumclient-3.2.1.tar.gz
+URL: https://docs.openstack.org/python-magnumclient
+Source0:
https://files.pythonhosted.org/packages/source/p/python-magnumclient/python-magnumclient-3.4.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-PrettyTable >= 0.7.2
BuildRequires: python3-cryptography >= 3.0
@@ -52,7 +52,6 @@
%package -n python3-magnumclient
Summary: Python API and CLI for OpenStack Magnum
-Group: Development/Languages/Python
Requires: python3-Babel >= 2.3.4
Requires: python3-PrettyTable >= 0.7.2
Requires: python3-cryptography >= 3.0
@@ -90,15 +89,15 @@
This package contains the documentation.
%prep
-%autosetup -p1 -n python-magnumclient-3.2.1
+%autosetup -p1 -n python-magnumclient-3.4.0
%py_req_cleanup
%build
%{py3_build}
# Build HTML docs and man page
-PBR_VERSION=3.2.1 %sphinx_build -b html doc/source doc/build/html
-PBR_VERSION=3.2.1 %sphinx_build -b man doc/source doc/build/man
+PBR_VERSION=3.4.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=3.4.0 %sphinx_build -b man doc/source doc/build/man
rm -r doc/build/html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.QgcvFE/_old 2021-05-10 15:39:39.177497230 +0200
+++ /var/tmp/diff_new_pack.QgcvFE/_new 2021-05-10 15:39:39.177497230 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/python-magnumclient/python-magnumclient.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/python-magnumclient/python-magnumclient.spec.j2</param>
<param name="output-name">python-magnumclient.spec</param>
- <param
name="requirements">https://opendev.org/openstack/python-magnumclient/raw/branch/stable/victoria/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/python-magnumclient/raw/branch/stable/wallaby/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-magnumclient</param>
</service>
++++++ python-magnumclient-3.2.1.tar.gz -> python-magnumclient-3.4.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-magnumclient-3.2.1/.zuul.yaml
new/python-magnumclient-3.4.0/.zuul.yaml
--- old/python-magnumclient-3.2.1/.zuul.yaml 2020-09-09 18:21:30.000000000
+0200
+++ new/python-magnumclient-3.4.0/.zuul.yaml 2021-03-08 12:41:47.000000000
+0100
@@ -2,7 +2,6 @@
templates:
- check-requirements
- openstack-cover-jobs
- - openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs
- publish-openstack-docs-pti
- build-release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-magnumclient-3.2.1/AUTHORS
new/python-magnumclient-3.4.0/AUTHORS
--- old/python-magnumclient-3.2.1/AUTHORS 2020-09-09 18:22:52.000000000
+0200
+++ new/python-magnumclient-3.4.0/AUTHORS 2021-03-08 12:42:21.000000000
+0100
@@ -26,6 +26,7 @@
Davanum Srinivas <[email protected]>
David Liu <[email protected]>
David Rabel <[email protected]>
+Diogo Guerra <[email protected]>
Doug Hellmann <[email protected]>
Eli Qiao <[email protected]>
Eric Brown <[email protected]>
@@ -45,6 +46,7 @@
Hongbn Lu <[email protected]>
Hua Wang <[email protected]>
Ian Cordasco <[email protected]>
+Jake Yip <[email protected]>
Jake Yip <[email protected]>
James Page <[email protected]>
Janek Lehr <[email protected]>
@@ -82,6 +84,7 @@
OpenStack Release Bot <[email protected]>
PanFengyun <[email protected]>
Pavlo Shchelokovskyy <[email protected]>
+Pierre Riteau <[email protected]>
Rajiv Kumar <[email protected]>
Ricardo Rocha <[email protected]>
Sean McGinnis <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-magnumclient-3.2.1/ChangeLog
new/python-magnumclient-3.4.0/ChangeLog
--- old/python-magnumclient-3.2.1/ChangeLog 2020-09-09 18:22:52.000000000
+0200
+++ new/python-magnumclient-3.4.0/ChangeLog 2021-03-08 12:42:21.000000000
+0100
@@ -1,6 +1,19 @@
CHANGES
=======
+3.4.0
+-----
+
+* Uncap PrettyTable
+* Add CT tags argument and field to client
+* Nodegroup min\_node\_count should default to 0
+* Drop lower constraints testing
+
+3.3.0
+-----
+
+* Show docker\_volume\_size in \`cluster show\`
+
3.2.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-magnumclient-3.2.1/PKG-INFO
new/python-magnumclient-3.4.0/PKG-INFO
--- old/python-magnumclient-3.2.1/PKG-INFO 2020-09-09 18:22:52.000000000
+0200
+++ new/python-magnumclient-3.4.0/PKG-INFO 2021-03-08 12:42:21.906053500
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-magnumclient
-Version: 3.2.1
+Version: 3.4.0
Summary: Client library for Magnum API
Home-page: https://docs.openstack.org/python-magnumclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/osc/v1/cluster_templates.py
new/python-magnumclient-3.4.0/magnumclient/osc/v1/cluster_templates.py
--- old/python-magnumclient-3.2.1/magnumclient/osc/v1/cluster_templates.py
2020-09-09 18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/osc/v1/cluster_templates.py
2021-03-08 12:41:47.000000000 +0100
@@ -52,7 +52,8 @@
'flavor_id',
'master_lb_enabled',
'dns_nameserver',
- 'hidden'
+ 'hidden',
+ 'tags',
]
@@ -233,6 +234,12 @@
dest='hidden',
action='store_false',
help=_('Indicates the cluster template should be visible.'))
+ parser.add_argument(
+ '--tags',
+ action='append',
+ default=[],
+ metavar='<--tags tag1 --tags tag2,tag3>',
+ help=_('Tags to be added to the cluster template.'))
return parser
@@ -265,10 +272,12 @@
'master_lb_enabled': parsed_args.master_lb_enabled,
}
- # NOTE (brtknr): Only supply hidden arg if it is True
- # for backward compatibility
+ # NOTE: Make new arguments backward compatible
if parsed_args.hidden:
args['hidden'] = parsed_args.hidden
+ if parsed_args.tags:
+ args['tags'] = ','.join(set(
+ (','.join(parsed_args.tags)).split(',')))
if len(parsed_args.floating_ip_enabled) > 1:
raise InvalidAttribute('--floating-ip-enabled and '
@@ -359,7 +368,7 @@
self.log.debug("take_action(%s)", parsed_args)
mag_client = self.app.client_manager.container_infra
- columns = ['uuid', 'name']
+ columns = ['uuid', 'name', 'tags']
if parsed_args.fields:
columns += parsed_args.fields.split(',')
cts = mag_client.cluster_templates.list(limit=parsed_args.limit,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/osc/v1/clusters.py
new/python-magnumclient-3.4.0/magnumclient/osc/v1/clusters.py
--- old/python-magnumclient-3.2.1/magnumclient/osc/v1/clusters.py
2020-09-09 18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/osc/v1/clusters.py
2021-03-08 12:41:47.000000000 +0100
@@ -48,6 +48,7 @@
'create_timeout',
'node_count',
'discovery_url',
+ 'docker_volume_size',
'master_count',
'container_version',
'name',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/osc/v1/nodegroups.py
new/python-magnumclient-3.4.0/magnumclient/osc/v1/nodegroups.py
--- old/python-magnumclient-3.2.1/magnumclient/osc/v1/nodegroups.py
2020-09-09 18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/osc/v1/nodegroups.py
2021-03-08 12:41:47.000000000 +0100
@@ -78,7 +78,7 @@
parser.add_argument('--min-nodes',
dest='min_node_count',
type=int,
- default=1,
+ default=0,
metavar='<min-nodes>',
help='The nodegroup minimum node count.')
parser.add_argument('--max-nodes',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/fakes.py
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/fakes.py
--- old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/fakes.py
2020-09-09 18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/fakes.py
2021-03-08 12:41:47.000000000 +0100
@@ -185,7 +185,8 @@
'flavor_id': 'm1.medium',
'master_lb_enabled': False,
'dns_nameserver': '8.8.8.8',
- 'hidden': False
+ 'hidden': False,
+ 'tags': "",
}
# Overwrite default attributes.
@@ -253,6 +254,7 @@
'create_timeout': 60,
'node_count': 1,
'discovery_url': 'https://fake.cluster',
+ 'docker_volume_size': 1,
'master_count': 1,
'container_version': None,
'name': 'fake-cluster',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_cluster_templates.py
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_cluster_templates.py
---
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_cluster_templates.py
2020-09-09 18:21:30.000000000 +0200
+++
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_cluster_templates.py
2021-03-08 12:41:47.000000000 +0100
@@ -225,12 +225,15 @@
columns = [
'uuid',
- 'name'
+ 'name',
+ 'tags',
]
datalist = (
- (_cluster_template.uuid, _cluster_template.name),
- (_cluster_template2.uuid, _cluster_template2.name)
+ (_cluster_template.uuid, _cluster_template.name,
+ _cluster_template.tags),
+ (_cluster_template2.uuid, _cluster_template2.name,
+ _cluster_template.tags)
)
def setUp(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_clusters.py
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_clusters.py
---
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_clusters.py
2020-09-09 18:21:30.000000000 +0200
+++
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_clusters.py
2021-03-08 12:41:47.000000000 +0100
@@ -499,6 +499,21 @@
"UUID1", 2, None, None
)
+ def test_cluster_resize_to_zero_pass(self):
+ arglist = ['foo', '0']
+ verifylist = [
+ ('cluster', 'foo'),
+ ('node_count', 0),
+ ('nodes_to_remove', None),
+ ('nodegroup', None)
+ ]
+ parsed_args = self.check_parser(self.cmd, arglist, verifylist)
+
+ self.cmd.take_action(parsed_args)
+ self.clusters_mock.resize.assert_called_with(
+ "UUID1", 0, None, None
+ )
+
class TestClusterUpgrade(TestCluster):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_nodegroups.py
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_nodegroups.py
---
old/python-magnumclient-3.2.1/magnumclient/tests/osc/unit/v1/test_nodegroups.py
2020-09-09 18:21:30.000000000 +0200
+++
new/python-magnumclient-3.4.0/magnumclient/tests/osc/unit/v1/test_nodegroups.py
2021-03-08 12:41:47.000000000 +0100
@@ -47,7 +47,7 @@
'name': 'fake-nodegroup',
'node_count': 1,
'role': 'worker',
- 'min_node_count': 1,
+ 'min_node_count': 0,
'max_node_count': None,
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/tests/v1/test_nodegroups.py
new/python-magnumclient-3.4.0/magnumclient/tests/v1/test_nodegroups.py
--- old/python-magnumclient-3.2.1/magnumclient/tests/v1/test_nodegroups.py
2020-09-09 18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/tests/v1/test_nodegroups.py
2021-03-08 12:41:47.000000000 +0100
@@ -37,7 +37,7 @@
'is_default': True,
'role': 'worker',
'max_node_count': 10,
- 'min_node_count': 1
+ 'min_node_count': 0
}
NODEGROUP2 = {
'id': 124,
@@ -53,7 +53,7 @@
'is_default': True,
'role': 'master',
'max_node_count': 10,
- 'min_node_count': 1
+ 'min_node_count': 0
}
CREATE_NODEGROUP = copy.deepcopy(NODEGROUP1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/magnumclient/v1/basemodels.py
new/python-magnumclient-3.4.0/magnumclient/v1/basemodels.py
--- old/python-magnumclient-3.2.1/magnumclient/v1/basemodels.py 2020-09-09
18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/magnumclient/v1/basemodels.py 2021-03-08
12:41:47.000000000 +0100
@@ -22,7 +22,7 @@
'no_proxy', 'network_driver', 'tls_disabled', 'public',
'registry_enabled', 'volume_driver', 'server_type',
'docker_storage_driver', 'master_lb_enabled',
- 'floating_ip_enabled', 'hidden']
+ 'floating_ip_enabled', 'hidden', 'tags']
OUTPUT_ATTRIBUTES = CREATION_ATTRIBUTES + ['apiserver_port', 'created_at',
'insecure_registry', 'links',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/python_magnumclient.egg-info/PKG-INFO
new/python-magnumclient-3.4.0/python_magnumclient.egg-info/PKG-INFO
--- old/python-magnumclient-3.2.1/python_magnumclient.egg-info/PKG-INFO
2020-09-09 18:22:52.000000000 +0200
+++ new/python-magnumclient-3.4.0/python_magnumclient.egg-info/PKG-INFO
2021-03-08 12:42:21.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-magnumclient
-Version: 3.2.1
+Version: 3.4.0
Summary: Client library for Magnum API
Home-page: https://docs.openstack.org/python-magnumclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/python_magnumclient.egg-info/SOURCES.txt
new/python-magnumclient-3.4.0/python_magnumclient.egg-info/SOURCES.txt
--- old/python-magnumclient-3.2.1/python_magnumclient.egg-info/SOURCES.txt
2020-09-09 18:22:52.000000000 +0200
+++ new/python-magnumclient-3.4.0/python_magnumclient.egg-info/SOURCES.txt
2021-03-08 12:42:21.000000000 +0100
@@ -117,6 +117,7 @@
python_magnumclient.egg-info/pbr.json
python_magnumclient.egg-info/requires.txt
python_magnumclient.egg-info/top_level.txt
+releasenotes/notes/add-ct-tags-argument-3129c5038e95757e.yaml
releasenotes/notes/bug-1870264-1b4f14618b8422f9.yaml
releasenotes/notes/partial_osc_implementation_for_certificate-4597c20b59c152e1.yaml
releasenotes/notes/partial_osc_implementation_for_quotas-33f44c0496d721f8.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/python_magnumclient.egg-info/pbr.json
new/python-magnumclient-3.4.0/python_magnumclient.egg-info/pbr.json
--- old/python-magnumclient-3.2.1/python_magnumclient.egg-info/pbr.json
2020-09-09 18:22:52.000000000 +0200
+++ new/python-magnumclient-3.4.0/python_magnumclient.egg-info/pbr.json
2021-03-08 12:42:21.000000000 +0100
@@ -1 +1 @@
-{"git_version": "1b707a7", "is_release": true}
\ No newline at end of file
+{"git_version": "e2bcf6e", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/python_magnumclient.egg-info/requires.txt
new/python-magnumclient-3.4.0/python_magnumclient.egg-info/requires.txt
--- old/python-magnumclient-3.2.1/python_magnumclient.egg-info/requires.txt
2020-09-09 18:22:52.000000000 +0200
+++ new/python-magnumclient-3.4.0/python_magnumclient.egg-info/requires.txt
2021-03-08 12:42:21.000000000 +0100
@@ -1,5 +1,5 @@
Babel!=2.4.0,>=2.3.4
-PrettyTable<0.8,>=0.7.2
+PrettyTable>=0.7.2
cryptography>=3.0
decorator>=3.4.0
keystoneauth1>=3.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-magnumclient-3.2.1/releasenotes/notes/add-ct-tags-argument-3129c5038e95757e.yaml
new/python-magnumclient-3.4.0/releasenotes/notes/add-ct-tags-argument-3129c5038e95757e.yaml
---
old/python-magnumclient-3.2.1/releasenotes/notes/add-ct-tags-argument-3129c5038e95757e.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-magnumclient-3.4.0/releasenotes/notes/add-ct-tags-argument-3129c5038e95757e.yaml
2021-03-08 12:41:47.000000000 +0100
@@ -0,0 +1,9 @@
+---
+features:
+ - |
+ When creating a cluster template the administrator can
+ use --tags <text> argument to add any information
+ that he considers important. The received text is a
+ comma separated list with the pretended tags.
+ This information is also shown when the user lists all
+ the available cluster templates.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-magnumclient-3.2.1/requirements.txt
new/python-magnumclient-3.4.0/requirements.txt
--- old/python-magnumclient-3.2.1/requirements.txt 2020-09-09
18:21:30.000000000 +0200
+++ new/python-magnumclient-3.4.0/requirements.txt 2021-03-08
12:41:47.000000000 +0100
@@ -13,6 +13,6 @@
oslo.utils>=3.33.0 # Apache-2.0
os-client-config>=1.28.0 # Apache-2.0
osc-lib>=1.8.0 # Apache-2.0
-PrettyTable<0.8,>=0.7.2 # BSD
+PrettyTable>=0.7.2 # BSD
cryptography>=3.0 # BSD/Apache-2.0
decorator>=3.4.0 # BSD