Hello community,

here is the log from the commit of package python-fire for openSUSE:Factory 
checked in at 2020-09-17 15:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fire (Old)
 and      /work/SRC/openSUSE:Factory/.python-fire.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fire"

Thu Sep 17 15:05:26 2020 rev:9 rq:835162 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fire/python-fire.changes  2020-04-02 
17:43:39.405410031 +0200
+++ /work/SRC/openSUSE:Factory/.python-fire.new.4249/python-fire.changes        
2020-09-17 15:08:59.556946550 +0200
@@ -1,0 +2,6 @@
+Thu Sep 17 11:09:09 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 0.3.1:
+  * Removes preexec_fn from pager subprocess cal
+
+-------------------------------------------------------------------

Old:
----
  fire-0.3.0.tar.gz

New:
----
  fire-0.3.1.tar.gz

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

Other differences:
------------------
++++++ python-fire.spec ++++++
--- /var/tmp/diff_new_pack.mrm8Xx/_old  2020-09-17 15:09:00.692947629 +0200
+++ /var/tmp/diff_new_pack.mrm8Xx/_new  2020-09-17 15:09:00.692947629 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fire
-Version:        0.3.0
+Version:        0.3.1
 Release:        0
 Summary:        A library for automatically generating command line interfaces
 License:        Apache-2.0

++++++ fire-0.3.0.tar.gz -> fire-0.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fire-0.3.0/PKG-INFO new/fire-0.3.1/PKG-INFO
--- old/fire-0.3.0/PKG-INFO     2020-03-20 20:29:32.000000000 +0100
+++ new/fire-0.3.1/PKG-INFO     2020-04-07 22:04:07.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: fire
-Version: 0.3.0
+Version: 0.3.1
 Summary: A library for automatically generating command line interfaces.
 Home-page: https://github.com/google/python-fire
 Author: David Bieber
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fire-0.3.0/fire/__init__.py 
new/fire-0.3.1/fire/__init__.py
--- old/fire-0.3.0/fire/__init__.py     2020-03-20 20:15:12.000000000 +0100
+++ new/fire-0.3.1/fire/__init__.py     2020-04-07 22:01:14.000000000 +0200
@@ -21,4 +21,4 @@
 from fire.core import Fire
 
 __all__ = ['Fire']
-__version__ = '0.3.0'
+__version__ = '0.3.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fire-0.3.0/fire/console/console_io.py 
new/fire-0.3.1/fire/console/console_io.py
--- old/fire-0.3.0/fire/console/console_io.py   2020-03-20 20:15:12.000000000 
+0100
+++ new/fire-0.3.1/fire/console/console_io.py   2020-04-07 22:01:14.000000000 
+0200
@@ -69,10 +69,6 @@
   return True
 
 
-def PreexecFunc():
-  signal.signal(signal.SIGINT, signal.SIG_IGN)
-
-
 def More(contents, out, prompt=None, check_pager=True):
   """Run a user specified pager or fall back to the internal pager.
 
@@ -102,18 +98,14 @@
       less_orig = encoding.GetEncodedValue(os.environ, 'LESS', None)
       less = '-R' + (less_orig or '')
       encoding.SetEncodedValue(os.environ, 'LESS', less)
-      # Ignores SIGINT from this point on since the child process has started
-      # and we don't want to terminate either one when the child is still 
alive.
+      # Ignore SIGINT while the pager is running.
+      # We don't want to terminate the parent while the child is still alive.
       signal.signal(signal.SIGINT, signal.SIG_IGN)
-      # Runs PreexecFunc before starting the child so SIGINT is ignored for the
-      # child process as well.
-      p = subprocess.Popen(
-          pager, stdin=subprocess.PIPE, shell=True, preexec_fn=PreexecFunc)
+      p = subprocess.Popen(pager, stdin=subprocess.PIPE, shell=True)
       enc = console_attr.GetConsoleAttr().GetEncoding()
       p.communicate(input=contents.encode(enc))
       p.wait()
-      # Starts using default disposition for SIGINT again after the child has
-      # exited.
+      # Start using default signal handling for SIGINT again.
       signal.signal(signal.SIGINT, signal.SIG_DFL)
       if less_orig is None:
         encoding.SetEncodedValue(os.environ, 'LESS', None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fire-0.3.0/fire.egg-info/PKG-INFO 
new/fire-0.3.1/fire.egg-info/PKG-INFO
--- old/fire-0.3.0/fire.egg-info/PKG-INFO       2020-03-20 20:29:31.000000000 
+0100
+++ new/fire-0.3.1/fire.egg-info/PKG-INFO       2020-04-07 22:04:07.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: fire
-Version: 0.3.0
+Version: 0.3.1
 Summary: A library for automatically generating command line interfaces.
 Home-page: https://github.com/google/python-fire
 Author: David Bieber
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fire-0.3.0/setup.py new/fire-0.3.1/setup.py
--- old/fire-0.3.0/setup.py     2020-03-20 20:15:12.000000000 +0100
+++ new/fire-0.3.1/setup.py     2020-04-07 22:01:14.000000000 +0200
@@ -40,7 +40,7 @@
     'python-Levenshtein',
 ]
 
-VERSION = '0.3.0'
+VERSION = '0.3.1'
 URL = 'https://github.com/google/python-fire'
 
 setup(


Reply via email to