Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-avro for openSUSE:Factory checked in at 2021-01-19 16:02:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-avro (Old) and /work/SRC/openSUSE:Factory/.python-avro.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-avro" Tue Jan 19 16:02:36 2021 rev:8 rq:864155 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-avro/python-avro.changes 2020-07-14 07:59:26.781820090 +0200 +++ /work/SRC/openSUSE:Factory/.python-avro.new.28504/python-avro.changes 2021-01-19 16:03:03.671458505 +0100 @@ -1,0 +2,6 @@ +Mon Jan 18 21:19:22 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- update to 1.10.1: + * AVRO-2889 python tether test is flaky + +------------------------------------------------------------------- Old: ---- avro-1.10.0.tar.gz New: ---- avro-1.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-avro.spec ++++++ --- /var/tmp/diff_new_pack.XpFzTS/_old 2021-01-19 16:03:04.515459775 +0100 +++ /var/tmp/diff_new_pack.XpFzTS/_new 2021-01-19 16:03:04.519459780 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-avro # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-avro -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: A serialization and RPC framework for Python License: Apache-2.0 ++++++ avro-1.10.0.tar.gz -> avro-1.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.10.0/PKG-INFO new/avro-1.10.1/PKG-INFO --- old/avro-1.10.0/PKG-INFO 2020-06-29 17:05:56.000000000 +0200 +++ new/avro-1.10.1/PKG-INFO 2020-12-03 15:54:43.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: avro -Version: 1.10.0 +Version: 1.10.1 Summary: Avro is a serialization and RPC framework. Home-page: https://avro.apache.org/ Author: Apache Avro @@ -16,5 +16,5 @@ Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=2.7 -Provides-Extra: snappy Provides-Extra: zstandard +Provides-Extra: snappy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.10.0/avro/VERSION.txt new/avro-1.10.1/avro/VERSION.txt --- old/avro-1.10.0/avro/VERSION.txt 2020-06-22 17:00:13.000000000 +0200 +++ new/avro-1.10.1/avro/VERSION.txt 2020-11-18 11:17:57.000000000 +0100 @@ -1 +1 @@ -1.10.0 +1.10.1 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.10.0/avro/test/test_tether_task_runner.py new/avro-1.10.1/avro/test/test_tether_task_runner.py --- old/avro-1.10.0/avro/test/test_tether_task_runner.py 2020-06-09 13:02:56.000000000 +0200 +++ new/avro-1.10.1/avro/test/test_tether_task_runner.py 2020-11-18 09:06:53.000000000 +0100 @@ -66,6 +66,12 @@ runner = avro.tether.tether_task_runner.TaskRunner(avro.test.word_count_task.WordCountTask()) runner.start(outputport=parent_port, join=False) + for _ in range(12): + if runner.server is not None: + break + time.sleep(1) + else: + raise RuntimeError("Server never started") # Test sending various messages to the server and ensuring they are processed correctly requestor = avro.tether.tether_task.HTTPRequestor( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.10.0/avro/tether/tether_task_runner.py new/avro-1.10.1/avro/tether/tether_task_runner.py --- old/avro-1.10.0/avro/tether/tether_task_runner.py 2020-06-09 13:02:56.000000000 +0200 +++ new/avro-1.10.1/avro/tether/tether_task_runner.py 2020-11-18 09:06:53.000000000 +0100 @@ -141,6 +141,9 @@ implements the logic for the mapper and reducer phases """ + server = None + sthread = None + def __init__(self, task): """ Construct the runner @@ -149,15 +152,11 @@ --------------------------------------------------------------- task - An instance of tether task """ - self.log = logging.getLogger("TaskRunner:") - - if not(isinstance(task, avro.tether.tether_task.TetherTask)): - raise ValueError("task must be an instance of tether task") self.task = task - self.server = None - self.sthread = None + if not isinstance(task, avro.tether.tether_task.TetherTask): + raise ValueError("task must be an instance of tether task") def start(self, outputport=None, join=True): """ @@ -175,7 +174,6 @@ we can resume execution in this thread so that we can do additional testing """ - port = avro.tether.util.find_port() address = ("localhost", port) @@ -189,7 +187,7 @@ sthread.start() self.sthread = sthread - # This needs to run in a separat thread b\c serve_forever() blocks + # This needs to run in a separate thread because serve_forever() blocks. self.task.open(port, clientPort=outputport) # wait for the other thread to finish diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.10.0/avro.egg-info/PKG-INFO new/avro-1.10.1/avro.egg-info/PKG-INFO --- old/avro-1.10.0/avro.egg-info/PKG-INFO 2020-06-29 17:05:56.000000000 +0200 +++ new/avro-1.10.1/avro.egg-info/PKG-INFO 2020-12-03 15:54:43.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: avro -Version: 1.10.0 +Version: 1.10.1 Summary: Avro is a serialization and RPC framework. Home-page: https://avro.apache.org/ Author: Apache Avro @@ -16,5 +16,5 @@ Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=2.7 -Provides-Extra: snappy Provides-Extra: zstandard +Provides-Extra: snappy