Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-opentracing for 
openSUSE:Factory checked in at 2022-03-24 22:58:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opentracing (Old)
 and      /work/SRC/openSUSE:Factory/.python-opentracing.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-opentracing"

Thu Mar 24 22:58:29 2022 rev:3 rq:964658 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-opentracing/python-opentracing.changes    
2021-12-16 21:20:57.578558850 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-opentracing.new.1900/python-opentracing.changes
  2022-03-24 23:00:41.592406503 +0100
@@ -1,0 +2,8 @@
+Thu Mar 24 11:07:38 UTC 2022 - [email protected]
+
+- do not use python-mock for build
+- added patches
+  fix https://github.com/opentracing/opentracing-python/issues/156
+  + python-opentracing-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-opentracing-no-mock.patch

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

Other differences:
------------------
++++++ python-opentracing.spec ++++++
--- /var/tmp/diff_new_pack.jPa0ng/_old  2022-03-24 23:00:42.104406997 +0100
+++ /var/tmp/diff_new_pack.jPa0ng/_new  2022-03-24 23:00:42.108407001 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-opentracing
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/opentracing/opentracing-python
 Source:         
https://files.pythonhosted.org/packages/source/o/opentracing/opentracing-%{version}.tar.gz
+# https://github.com/opentracing/opentracing-python/issues/156
+Patch0:         python-opentracing-no-mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -34,7 +36,6 @@
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module gevent}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado}
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n opentracing-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-opentracing-no-mock.patch ++++++
Index: opentracing-2.4.0/tests/test_globaltracer.py
===================================================================
--- opentracing-2.4.0.orig/tests/test_globaltracer.py   2020-11-19 
18:03:16.000000000 +0100
+++ opentracing-2.4.0/tests/test_globaltracer.py        2022-03-24 
12:00:44.458003441 +0100
@@ -14,7 +14,7 @@
 
 from __future__ import absolute_import
 import pytest
-import mock
+import unittest.mock as mock
 import opentracing
 
 
Index: opentracing-2.4.0/tests/test_noop_span.py
===================================================================
--- opentracing-2.4.0.orig/tests/test_noop_span.py      2020-11-19 
18:03:16.000000000 +0100
+++ opentracing-2.4.0/tests/test_noop_span.py   2022-03-24 12:01:09.994156138 
+0100
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 from __future__ import absolute_import
-import mock
+import unittest.mock as mock
 import time
 import types
 from opentracing import child_of
Index: opentracing-2.4.0/tests/test_scope.py
===================================================================
--- opentracing-2.4.0.orig/tests/test_scope.py  2020-11-19 18:03:16.000000000 
+0100
+++ opentracing-2.4.0/tests/test_scope.py       2022-03-24 12:01:33.282295392 
+0100
@@ -20,7 +20,7 @@
 
 from __future__ import absolute_import
 
-import mock
+import unittest.mock as mock
 import types
 
 from opentracing.scope_manager import ScopeManager
Index: opentracing-2.4.0/opentracing/harness/api_check.py
===================================================================
--- opentracing-2.4.0.orig/opentracing/harness/api_check.py     2020-11-19 
18:03:16.000000000 +0100
+++ opentracing-2.4.0/opentracing/harness/api_check.py  2022-03-24 
12:03:38.491044075 +0100
@@ -14,7 +14,7 @@
 
 from __future__ import absolute_import
 
-import mock
+import unittest.mock as mock
 import time
 import pytest
 
Index: opentracing-2.4.0/opentracing/harness/scope_check.py
===================================================================
--- opentracing-2.4.0.orig/opentracing/harness/scope_check.py   2020-11-19 
18:03:16.000000000 +0100
+++ opentracing-2.4.0/opentracing/harness/scope_check.py        2022-03-24 
12:04:05.699206774 +0100
@@ -19,7 +19,7 @@
 # THE SOFTWARE.
 from __future__ import absolute_import
 
-import mock
+import unittest.mock as mock
 
 from opentracing.span import Span
 

Reply via email to