Hello community,
here is the log from the commit of package python-parallax for
openSUSE:Leap:15.2 checked in at 2020-03-13 10:57:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-parallax (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-parallax.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parallax"
Fri Mar 13 10:57:51 2020 rev:12 rq:783409 version:1.0.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-parallax/python-parallax.changes
2020-01-15 15:51:20.239525475 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-parallax.new.3160/python-parallax.changes
2020-03-13 10:59:12.868513364 +0100
@@ -1,0 +2,34 @@
+Thu Aug 22 07:50:06 UTC 2019 - Kristoffer Gronlund <[email protected]>
+
+- Release 1.0.5
+- Surpress warning messages when needed (bsc#1146748)
+- Fix assert_ DeprecationWarning
+
+-------------------------------------------------------------------
+Tue May 28 07:12:30 UTC 2019 - Kristoffer Gronlund <[email protected]>
+
+- Work around hidden python packaging magic (bsc#1131136)
+
+-------------------------------------------------------------------
+Tue Dec 18 09:40:49 UTC 2018 - [email protected]
+
+- Obsolete old python-parallax package (bsc#1103832)
+
+-------------------------------------------------------------------
+Mon Dec 10 12:30:31 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Fix Source URL
+- Fix fdupes call
+
+-------------------------------------------------------------------
+Fri Jul 27 14:41:09 UTC 2018 - [email protected]
+
+- Use noun phrase in summary.
+
+-------------------------------------------------------------------
+Thu Jun 28 14:32:46 UTC 2018 - [email protected]
+
+- Release 1.0.4
+- Fix super call for python2 (bsc#1099514)
+
+-------------------------------------------------------------------
Old:
----
parallax-1.0.3.tar.gz
New:
----
parallax-1.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parallax.spec ++++++
--- /var/tmp/diff_new_pack.p3dpg3/_old 2020-03-13 10:59:13.280513657 +0100
+++ /var/tmp/diff_new_pack.p3dpg3/_new 2020-03-13 10:59:13.280513657 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-parallax
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,41 +12,40 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
Name: python-parallax
-Version: 1.0.3
+Version: 1.0.5
Release: 0
-Summary: Execute commands and copy files over SSH to multiple machines
at once
+Summary: Python module for multi-node SSH command execution and file
copy
License: BSD-3-Clause
Group: Development/Languages/Python
-Url: https://github.com/krig/parallax/
-Source:
https://files.pythonhosted.org/packages/1c/21/acd162b334561a1989310d149407b7d6cd2ac7d51b7fae35cd897ed72ef7/parallax-%{version}.tar.gz
+URL: https://github.com/krig/parallax/
+Source:
https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%define oldpython python
+Obsoletes: %{oldpython}-parallax < %{version}
Requires: openssh
BuildArch: noarch
%if 0%{?suse_version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
%else
-Requires(post): /usr/sbin/update-alternatives
-Requires(postun): /usr/sbin/update-alternatives
+Requires(post): %{_sbindir}/update-alternatives
+Requires(postun): %{_sbindir}/update-alternatives
%endif
+%python_subpackages
%description
Parallax SSH provides an interface to executing commands on multiple
nodes at once using SSH. It also provides commands for sending and receiving
files to
multiple nodes using SCP.
-%python_subpackages
-
%prep
%setup -q -n parallax-%{version}
@@ -57,7 +56,7 @@
%python_install
%python_clone -a %{buildroot}%{_bindir}/parallax-askpass
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative parallax-askpass
@@ -66,8 +65,8 @@
%python_uninstall_alternative parallax-askpass
%files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS README.md COPYING
+%doc AUTHORS README.md
+%license COPYING
%{python_sitelib}/parallax
%{python_sitelib}/parallax-%{version}*.egg-info
%python_alternative %{_bindir}/parallax-askpass
++++++ parallax-1.0.3.tar.gz -> parallax-1.0.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/PKG-INFO new/parallax-1.0.5/PKG-INFO
--- old/parallax-1.0.3/PKG-INFO 2017-11-03 09:07:18.000000000 +0100
+++ new/parallax-1.0.5/PKG-INFO 2019-08-22 09:45:34.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: parallax
-Version: 1.0.3
+Version: 1.0.5
Summary: Execute commands and copy files over SSH to multiple machines at once
Home-page: https://github.com/krig/parallax/
Author: Kristoffer Gronlund
Author-email: [email protected]
License: BSD
-Description-Content-Type: UNKNOWN
Description: Parallax SSH provides an interface to executing commands on
multiple
nodes at once using SSH. It also provides commands for sending and
receiving files to
multiple nodes using SCP.
@@ -24,6 +23,8 @@
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Clustering
Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/parallax/__init__.py
new/parallax-1.0.5/parallax/__init__.py
--- old/parallax-1.0.3/parallax/__init__.py 2017-11-03 08:59:18.000000000
+0100
+++ new/parallax-1.0.5/parallax/__init__.py 2019-08-22 09:40:05.000000000
+0200
@@ -61,7 +61,7 @@
that host.
"""
def __init__(self, msg, task):
- super().__init__(self)
+ super(BaseException, self).__init__()
self.msg = msg
self.task = task
@@ -98,6 +98,7 @@
default_user = None # User to connect as (unless overridden per
host)
recursive = True # (copy, slurp only) Copy recursively
localdir = None # (slurp only) Local base directory to copy to
+ warn_message = True # show warn message when asking for a password
def _expand_host_port_user(lst):
@@ -169,6 +170,7 @@
askpass=opts.askpass,
outdir=opts.outdir,
errdir=opts.errdir,
+ warn_message=opts.warn_message,
callbacks=_CallOutputBuilder())
for host, port, user in _expand_host_port_user(hosts):
cmd = _build_call_cmd(host, port, user, cmdline,
@@ -245,6 +247,7 @@
askpass=opts.askpass,
outdir=opts.outdir,
errdir=opts.errdir,
+ warn_message=opts.warn_message,
callbacks=_CopyOutputBuilder())
for host, port, user in _expand_host_port_user(hosts):
cmd = _build_copy_cmd(host, port, user, src, dst, opts)
@@ -340,6 +343,7 @@
askpass=opts.askpass,
outdir=opts.outdir,
errdir=opts.errdir,
+ warn_message=opts.warn_message,
callbacks=_SlurpOutputBuilder(localdirs))
for host, port, user in _expand_host_port_user(hosts):
localpath = localdirs[host]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/parallax/askpass_server.py
new/parallax-1.0.5/parallax/askpass_server.py
--- old/parallax-1.0.3/parallax/askpass_server.py 2017-11-03
08:48:26.000000000 +0100
+++ new/parallax-1.0.5/parallax/askpass_server.py 2019-08-22
09:40:05.000000000 +0200
@@ -26,15 +26,16 @@
self.buffermap = {}
self.password = ""
- def start(self, iomap, backlog):
+ def start(self, iomap, backlog, warn=True):
"""Prompts for the password, creates a socket, and starts listening.
The specified backlog should be the max number of clients connecting
at once.
"""
- message = ('Warning: do not enter your password if anyone else has'
- ' superuser privileges or access to your account.')
- print(textwrap.fill(message))
+ if warn:
+ message = ('Warning: do not enter your password if anyone else has'
+ ' superuser privileges or access to your account.')
+ print(textwrap.fill(message))
self.password = getpass.getpass()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/parallax/manager.py
new/parallax-1.0.5/parallax/manager.py
--- old/parallax-1.0.3/parallax/manager.py 2017-11-03 08:50:59.000000000
+0100
+++ new/parallax-1.0.5/parallax/manager.py 2019-08-22 09:40:05.000000000
+0200
@@ -44,6 +44,7 @@
askpass=False,
outdir=None,
errdir=None,
+ warn_message=True,
callbacks=DefaultCallbacks()):
# Backwards compatibility with old __init__
# format: Only argument is an options dict
@@ -86,6 +87,7 @@
self.done = []
self.askpass_socket = None
+ self.warn_message = warn_message
def run(self):
"""Processes tasks previously added with add_task."""
@@ -99,7 +101,7 @@
if self.askpass:
pass_server = PasswordServer()
- pass_server.start(self.iomap, self.limit)
+ pass_server.start(self.iomap, self.limit,
warn=self.warn_message)
self.askpass_socket = pass_server.address
self.set_sigchld_handler()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/parallax/version.py
new/parallax-1.0.5/parallax/version.py
--- old/parallax-1.0.3/parallax/version.py 2017-11-03 09:02:03.000000000
+0100
+++ new/parallax-1.0.5/parallax/version.py 2019-08-22 09:40:57.000000000
+0200
@@ -1 +1 @@
-VERSION = '1.0.3'
+VERSION = '1.0.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/parallax.egg-info/PKG-INFO
new/parallax-1.0.5/parallax.egg-info/PKG-INFO
--- old/parallax-1.0.3/parallax.egg-info/PKG-INFO 2017-11-03
09:07:18.000000000 +0100
+++ new/parallax-1.0.5/parallax.egg-info/PKG-INFO 2019-08-22
09:45:34.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: parallax
-Version: 1.0.3
+Version: 1.0.5
Summary: Execute commands and copy files over SSH to multiple machines at once
Home-page: https://github.com/krig/parallax/
Author: Kristoffer Gronlund
Author-email: [email protected]
License: BSD
-Description-Content-Type: UNKNOWN
Description: Parallax SSH provides an interface to executing commands on
multiple
nodes at once using SSH. It also provides commands for sending and
receiving files to
multiple nodes using SCP.
@@ -24,6 +23,8 @@
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Clustering
Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/setup.py new/parallax-1.0.5/setup.py
--- old/parallax-1.0.3/setup.py 2017-08-28 14:47:56.000000000 +0200
+++ new/parallax-1.0.5/setup.py 2017-11-03 09:10:17.000000000 +0100
@@ -28,6 +28,8 @@
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Clustering",
"Topic :: System :: Networking",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parallax-1.0.3/test/test_api.py
new/parallax-1.0.5/test/test_api.py
--- old/parallax-1.0.3/test/test_api.py 2016-12-15 14:03:04.000000000 +0100
+++ new/parallax-1.0.5/test/test_api.py 2019-08-22 09:40:05.000000000 +0200
@@ -33,7 +33,7 @@
raise result
rc, out, err = result
self.assertEqual(rc, 0)
- self.assert_(len(out) > 0)
+ self.assertTrue(len(out) > 0)
def testUptime(self):
opts = para.Options()
@@ -43,14 +43,14 @@
raise result
rc, out, err = result
self.assertEqual(rc, 0)
- self.assert_(out.decode("utf8").find("load average") != -1)
+ self.assertTrue(out.decode("utf8").find("load average") != -1)
def testFailingCall(self):
opts = para.Options()
opts.default_user = g_user
for host, result in para.call(g_hosts, "touch
/foofoo/barbar/jfikjfdj", opts).items():
- self.assert_(isinstance(result, para.Error))
- self.assert_(str(result).find('with error code') != -1)
+ self.assertTrue(isinstance(result, para.Error))
+ self.assertTrue(str(result).find('with error code') != -1)
class CopySlurpTest(unittest.TestCase):
@@ -77,7 +77,7 @@
raise result
rc, _, _, path = result
self.assertEqual(rc, 0)
- self.assert_(path.endswith('%s/para.test' % (host)))
+ self.assertTrue(path.endswith('%s/para.test' % (host)))
if __name__ == '__main__':
suite = unittest.TestSuite()