Hello community,

here is the log from the commit of package python-remoto for openSUSE:Factory 
checked in at 2020-08-06 17:31:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-remoto (Old)
 and      /work/SRC/openSUSE:Factory/.python-remoto.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-remoto"

Thu Aug  6 17:31:21 2020 rev:7 rq:824183 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-remoto/python-remoto.changes      
2020-03-27 00:29:31.136385108 +0100
+++ /work/SRC/openSUSE:Factory/.python-remoto.new.3399/python-remoto.changes    
2020-08-06 17:32:11.905095479 +0200
@@ -1,0 +2,7 @@
+Mon Aug  3 11:30:19 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com>
+
+- Update to 1.2.0
+  * Allow to specify python_executable for remote execution, helping 
+    virtualenvs set remotely.
+
+-------------------------------------------------------------------

Old:
----
  remoto-1.1.5.tar.gz

New:
----
  remoto-1.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-remoto.spec ++++++
--- /var/tmp/diff_new_pack.gpfwDz/_old  2020-08-06 17:32:13.689095897 +0200
+++ /var/tmp/diff_new_pack.gpfwDz/_new  2020-08-06 17:32:13.693095898 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-remoto
-Version:        1.1.5
+Version:        1.2.0
 Release:        0
 Summary:        Remote command executor using ssh and Python in the remote end
 License:        MIT
@@ -31,11 +31,10 @@
 BuildRequires:  python-devel
 BuildRequires:  python-rpm-macros
 Requires:       python-execnet
-Requires:       python-setuptools
 BuildArch:      noarch
 # SECTION build requirements
-BuildRequires:  %{python_module mock >= 1.0b1}
-BuildRequires:  %{python_module pytest >= 2.1.3}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 

++++++ remoto-1.1.5.tar.gz -> remoto-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/PKG-INFO new/remoto-1.2.0/PKG-INFO
--- old/remoto-1.1.5/PKG-INFO   2019-12-23 18:19:27.000000000 +0100
+++ new/remoto-1.2.0/PKG-INFO   2020-04-20 16:37:21.787139400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: remoto
-Version: 1.1.5
+Version: 1.2.0
 Summary: Execute remote commands or processes.
 Home-page: http://github.com/alfredodeza/remoto
 Author: Alfredo Deza
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto/__init__.py 
new/remoto-1.2.0/remoto/__init__.py
--- old/remoto-1.1.5/remoto/__init__.py 2019-12-23 18:17:21.000000000 +0100
+++ new/remoto-1.2.0/remoto/__init__.py 2020-04-20 16:34:50.000000000 +0200
@@ -4,4 +4,4 @@
 from . import connection
 
 
-__version__ = '1.1.5'
+__version__ = '1.2.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto/backends/__init__.py 
new/remoto-1.2.0/remoto/backends/__init__.py
--- old/remoto-1.1.5/remoto/backends/__init__.py        2019-12-23 
17:41:19.000000000 +0100
+++ new/remoto-1.2.0/remoto/backends/__init__.py        2020-04-20 
16:32:34.000000000 +0200
@@ -114,7 +114,7 @@
     def exit(self):
         self.group.terminate(timeout=1.0)
 
-    def import_module(self, module):
+    def import_module(self, module, python_executable=None):
         """
         Allows remote execution of a local module. Depending on the
         ``remote_import_system`` attribute it may use execnet's implementation
@@ -125,7 +125,8 @@
         """
         if self.remote_import_system is not None:
             if self.remote_import_system == 'json':
-                self.remote_module = JsonModuleExecute(self, module, 
self.logger)
+                self.remote_module = JsonModuleExecute(self, module, 
self.logger,
+                                                       
python_executable=python_executable)
             else:
                 self.remote_module = LegacyModuleExecute(self.gateway, module, 
self.logger)
         else:
@@ -217,12 +218,12 @@
     as well and raised accordingly.
     """
 
-    def __init__(self, conn, module, logger=None):
+    def __init__(self, conn, module, logger=None, python_executable=None):
         self.conn = conn
         self.module = module
         self._module_source = inspect.getsource(module)
         self.logger = logger
-        self.python_executable = None
+        self.python_executable = python_executable
 
     def __getattr__(self, name):
         if not hasattr(self.module, name):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto/bar.py 
new/remoto-1.2.0/remoto/bar.py
--- old/remoto-1.1.5/remoto/bar.py      2019-10-03 21:36:22.000000000 +0200
+++ new/remoto-1.2.0/remoto/bar.py      1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-def foo(arg):
-    return 1
-
-
-if __name__ == '__channelexec__':
-    for item in channel:
-        channel.send(eval(item))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto/tests/fake_module.py 
new/remoto-1.2.0/remoto/tests/fake_module.py
--- old/remoto-1.1.5/remoto/tests/fake_module.py        2019-03-01 
16:16:01.000000000 +0100
+++ new/remoto-1.2.0/remoto/tests/fake_module.py        2020-04-20 
16:32:34.000000000 +0200
@@ -23,3 +23,7 @@
 
 def passes():
     pass
+
+
+def remote_interpreter():
+    return sys.executable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto/zombie.py 
new/remoto-1.2.0/remoto/zombie.py
--- old/remoto-1.1.5/remoto/zombie.py   2019-12-20 12:55:03.000000000 +0100
+++ new/remoto-1.2.0/remoto/zombie.py   1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
-import remoto
-import remoto.process
-import time
-
-count = 15
-while count:
-    conn1 = remoto.Connection('node1')
-    conn2 = remoto.Connection('node1')
-    out, err, code = remoto.process.check(
-        conn2, ['true'])
-    out, err, code = remoto.process.check(
-        conn1, ['true'])
-    print('[%s] out %s err %s code %s' % (count, out, err, code))
-    conn1.exit()
-    conn2.exit()
-    #conn.gateway.close()
-    #conn.gateway._io.kill()
-    #conn.gateway._io.wait()
-    count -= 1
-    time.sleep(1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto.egg-info/PKG-INFO 
new/remoto-1.2.0/remoto.egg-info/PKG-INFO
--- old/remoto-1.1.5/remoto.egg-info/PKG-INFO   2019-12-23 18:19:27.000000000 
+0100
+++ new/remoto-1.2.0/remoto.egg-info/PKG-INFO   2020-04-20 16:37:21.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: remoto
-Version: 1.1.5
+Version: 1.2.0
 Summary: Execute remote commands or processes.
 Home-page: http://github.com/alfredodeza/remoto
 Author: Alfredo Deza
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/remoto-1.1.5/remoto.egg-info/SOURCES.txt 
new/remoto-1.2.0/remoto.egg-info/SOURCES.txt
--- old/remoto-1.1.5/remoto.egg-info/SOURCES.txt        2019-12-23 
18:19:27.000000000 +0100
+++ new/remoto-1.2.0/remoto.egg-info/SOURCES.txt        2020-04-20 
16:37:21.000000000 +0200
@@ -3,14 +3,12 @@
 README.rst
 setup.py
 remoto/__init__.py
-remoto/bar.py
 remoto/connection.py
 remoto/exc.py
 remoto/file_sync.py
 remoto/log.py
 remoto/process.py
 remoto/util.py
-remoto/zombie.py
 remoto.egg-info/PKG-INFO
 remoto.egg-info/SOURCES.txt
 remoto.egg-info/dependency_links.txt


Reply via email to