Hello community, here is the log from the commit of package python-process-tests for openSUSE:Factory checked in at 2017-11-17 10:36:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-process-tests (Old) and /work/SRC/openSUSE:Factory/.python-process-tests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-process-tests" Fri Nov 17 10:36:05 2017 rev:3 rq:541230 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-process-tests/python-process-tests.changes 2017-04-03 11:06:05.683317854 +0200 +++ /work/SRC/openSUSE:Factory/.python-process-tests.new/python-process-tests.changes 2017-11-17 10:36:07.249171844 +0100 @@ -1,0 +2,9 @@ +Sun Nov 12 17:00:15 UTC 2017 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 1.2.2: + * Add missing output decoding. + +------------------------------------------------------------------- Old: ---- process-tests-1.2.1.tar.gz New: ---- process-tests-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-process-tests.spec ++++++ --- /var/tmp/diff_new_pack.aTFLJT/_old 2017-11-17 10:36:07.737153983 +0100 +++ /var/tmp/diff_new_pack.aTFLJT/_new 2017-11-17 10:36:07.741153837 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-process-tests -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Tools for testing processes License: BSD-2-Clause ++++++ process-tests-1.2.1.tar.gz -> process-tests-1.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/process-tests-1.2.1/PKG-INFO new/process-tests-1.2.2/PKG-INFO --- old/process-tests-1.2.1/PKG-INFO 2016-08-26 17:34:18.000000000 +0200 +++ new/process-tests-1.2.2/PKG-INFO 2017-08-27 19:27:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: process-tests -Version: 1.2.1 +Version: 1.2.2 Summary: Tools for testing processes Home-page: https://github.com/ionelmc/python-process-tests Author: Ionel Cristian Mărieș diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/process-tests-1.2.1/setup.cfg new/process-tests-1.2.2/setup.cfg --- old/process-tests-1.2.1/setup.cfg 2016-08-26 17:34:18.000000000 +0200 +++ new/process-tests-1.2.2/setup.cfg 2017-08-27 19:27:23.000000000 +0200 @@ -4,5 +4,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/process-tests-1.2.1/setup.py new/process-tests-1.2.2/setup.py --- old/process-tests-1.2.1/setup.py 2016-08-26 17:33:52.000000000 +0200 +++ new/process-tests-1.2.2/setup.py 2017-08-27 19:26:56.000000000 +0200 @@ -5,7 +5,7 @@ setup( name="process-tests", - version="1.2.1", + version="1.2.2", url='https://github.com/ionelmc/python-process-tests', download_url='', license='BSD', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/process-tests-1.2.1/src/process_tests.egg-info/PKG-INFO new/process-tests-1.2.2/src/process_tests.egg-info/PKG-INFO --- old/process-tests-1.2.1/src/process_tests.egg-info/PKG-INFO 2016-08-26 17:34:18.000000000 +0200 +++ new/process-tests-1.2.2/src/process_tests.egg-info/PKG-INFO 2017-08-27 19:27:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: process-tests -Version: 1.2.1 +Version: 1.2.2 Summary: Tools for testing processes Home-page: https://github.com/ionelmc/python-process-tests Author: Ionel Cristian Mărieș diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/process-tests-1.2.1/src/process_tests.py new/process-tests-1.2.2/src/process_tests.py --- old/process-tests-1.2.1/src/process_tests.py 2016-08-26 17:32:41.000000000 +0200 +++ new/process-tests-1.2.2/src/process_tests.py 2017-08-27 19:26:02.000000000 +0200 @@ -1,6 +1,5 @@ from __future__ import print_function -import atexit import errno import os import signal @@ -166,8 +165,13 @@ raise finally: try: - out, _ = self.proc.communicate() - self.buff.write(out) + data, _ = self.proc.communicate() + try: + data = data.decode(self.ENCODING) + except Exception: + logger.exception("Failed to decode %r" % data) + raise + self.buff.write(data) except IOError as exc: if exc.errno != errno.EAGAIN: print('\nFailed to cleanup process:\n', file=sys.stderr)