Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-configshell-fb for
openSUSE:Factory checked in at 2023-07-03 17:43:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-configshell-fb (Old)
and /work/SRC/openSUSE:Factory/.python-configshell-fb.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configshell-fb"
Mon Jul 3 17:43:03 2023 rev:17 rq:1096429 version:1.1.30
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-configshell-fb/python-configshell-fb.changes
2023-04-21 18:48:32.104433425 +0200
+++
/work/SRC/openSUSE:Factory/.python-configshell-fb.new.13546/python-configshell-fb.changes
2023-07-03 17:43:05.676827799 +0200
@@ -1,0 +2,8 @@
+Sun Jul 2 15:23:07 UTC 2023 - Lee Duncan <[email protected]>
+
+- Upgrade to latest upstream version v1.1.30:
+ * setup.py: relax pyparsing version restriction
+ * Replace more occurrences of getargspec() with getfullargspec()
+ * replace getargspec() with getfullargspec()
+
+-------------------------------------------------------------------
Old:
----
python-configshell-fb-1.1.29.tar.xz
New:
----
python-configshell-fb-1.1.30.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-configshell-fb.spec ++++++
--- /var/tmp/diff_new_pack.ZLaC9p/_old 2023-07-03 17:43:06.404832086 +0200
+++ /var/tmp/diff_new_pack.ZLaC9p/_new 2023-07-03 17:43:06.408832109 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-configshell-fb
-Version: 1.1.29
+Version: 1.1.30
Release: 0%{?dist}
Summary: A Python library for building configuration shells
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZLaC9p/_old 2023-07-03 17:43:06.440832297 +0200
+++ /var/tmp/diff_new_pack.ZLaC9p/_new 2023-07-03 17:43:06.444832321 +0200
@@ -7,7 +7,7 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(\d*\.\d*\.)(\d*)</param>
<param name="versionrewrite-replacement">\1\2</param>
- <param name="revision">v1.1.28</param>
+ <param name="revision">v1.1.30</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*configshell-fb*.tar</param>
++++++ python-configshell-fb-1.1.29.tar.xz ->
python-configshell-fb-1.1.30.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-configshell-fb-1.1.29/.gitignore
new/python-configshell-fb-1.1.30/.gitignore
--- old/python-configshell-fb-1.1.29/.gitignore 1970-01-01 01:00:00.000000000
+0100
+++ new/python-configshell-fb-1.1.30/.gitignore 2023-05-29 13:39:24.000000000
+0200
@@ -0,0 +1,24 @@
+debian/changelog
+dpkg-buildpackage.log
+dpkg-buildpackage.version
+*.swp
+*.swo
+build-stamp
+build/*
+debian/files
+debian/python-configshell.debhelper.log
+debian/python-configshell.substvars
+debian/python-configshell/
+debian/configshell-doc.debhelper.log
+debian/configshell-doc.substvars
+debian/configshell-doc/
+debian/tmp/
+dist/*
+doc/*
+*.pyc
+debian/python-configshell.substvars
+debian/configshell-doc.debhelper.log
+debian/tmp/
+*.spec
+*.pyc
+rtslib-*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-configshell-fb-1.1.29/configshell/__init__.py
new/python-configshell-fb-1.1.30/configshell/__init__.py
--- old/python-configshell-fb-1.1.29/configshell/__init__.py 2021-03-04
13:59:32.000000000 +0100
+++ new/python-configshell-fb-1.1.30/configshell/__init__.py 2023-05-29
13:39:24.000000000 +0200
@@ -26,7 +26,7 @@
from .prefs import Prefs
from .shell import ConfigShell
-__version__ = '1.1.29'
+__version__ = '1.1.30'
__url__ = 'http://github.com/open-iscsi/configshell-fb'
__description__ = 'A framework to implement simple but nice CLIs.'
__license__ = 'Apache 2.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-configshell-fb-1.1.29/configshell/node.py
new/python-configshell-fb-1.1.30/configshell/node.py
--- old/python-configshell-fb-1.1.29/configshell/node.py 2021-03-04
13:59:32.000000000 +0100
+++ new/python-configshell-fb-1.1.30/configshell/node.py 2023-05-29
13:39:24.000000000 +0200
@@ -1417,10 +1417,10 @@
@type kparams: dict
@raise ExecutionError: When the check fails.
'''
- spec = inspect.getargspec(method)
+ spec = inspect.getfullargspec(method)
args = spec.args[1:]
pp = spec.varargs
- kw = spec.keywords
+ kw = spec.varkw
if spec.defaults is None:
nb_opt_params = 0
@@ -1460,7 +1460,7 @@
"Missing required parameters %s"
% ", ".join("'%s'" % missing for missing in missing_params))
- if spec.keywords is None:
+ if kw is None:
if len(unexpected_keywords) == 1:
raise ExecutionError(
"Unexpected keyword parameter '%s'."
@@ -1575,12 +1575,12 @@
@type command: str
'''
method = self.get_command_method(command)
- parameters, args, kwargs, default = inspect.getargspec(method)
- parameters = parameters[1:]
- if default is None:
+ spec = inspect.getfullargspec(method)
+ parameters = spec.args[1:]
+ if spec.defaults is None:
num_defaults = 0
else:
- num_defaults = len(default)
+ num_defaults = len(spec.defaults)
if num_defaults != 0:
required_parameters = parameters[:-num_defaults]
@@ -1605,16 +1605,16 @@
syntax += optional_parameters_str
comments = []
- if args is not None:
- syntax += "[%s...] " % args
- if kwargs is not None:
- syntax += "[%s=value...] " % (kwargs)
+ if spec.varargs is not None:
+ syntax += "[%s...] " % spec.varargs
+ if spec.varkw is not None:
+ syntax += "[%s=value...] " % (spec.varkw)
default_values = ''
if num_defaults > 0:
for index, param in enumerate(optional_parameters):
- if default[index] is not None:
- default_values += "%s=%s " % (param, str(default[index]))
+ if spec.defaults[index] is not None:
+ default_values += "%s=%s " % (param,
str(spec.defaults[index]))
return syntax, comments, default_values
@@ -1630,14 +1630,14 @@
@rtype: ([str...], bool, bool)
'''
method = self.get_command_method(command)
- parameters, args, kwargs, default = inspect.getargspec(method)
- parameters = parameters[1:]
- if args is not None:
- free_pparams = args
+ spec = inspect.getfullargspec(method)
+ parameters = spec.args[1:]
+ if spec.varargs is not None:
+ free_pparams = spec.varargs
else:
free_pparams = False
- if kwargs is not None:
- free_kparams = kwargs
+ if spec.varkw is not None:
+ free_kparams = spec.varkw
else:
free_kparams = False
self.shell.log.debug("Signature is %s, %s, %s."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-configshell-fb-1.1.29/setup.py
new/python-configshell-fb-1.1.30/setup.py
--- old/python-configshell-fb-1.1.29/setup.py 2021-03-04 13:59:32.000000000
+0100
+++ new/python-configshell-fb-1.1.30/setup.py 2023-05-29 13:39:24.000000000
+0200
@@ -34,7 +34,7 @@
setup(
name = 'configshell-fb',
- version = '1.1.29',
+ version = '1.1.30',
description = 'A framework to implement simple but nice CLIs.',
license = 'Apache 2.0',
maintainer = 'Andy Grover',
@@ -42,7 +42,7 @@
url = 'http://github.com/open-iscsi/configshell-fb',
packages = ['configshell', 'configshell_fb'],
install_requires = [
- 'pyparsing >=2.0.2,<3.0',
+ 'pyparsing >=2.0.2',
'six',
'urwid',
],