Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-statsd for openSUSE:Factory 
checked in at 2022-04-20 16:56:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-statsd (Old)
 and      /work/SRC/openSUSE:Factory/.python-statsd.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-statsd"

Wed Apr 20 16:56:40 2022 rev:7 rq:970852 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-statsd/python-statsd.changes      
2021-10-05 22:34:19.642918917 +0200
+++ /work/SRC/openSUSE:Factory/.python-statsd.new.1941/python-statsd.changes    
2022-04-20 16:57:12.234615981 +0200
@@ -1,0 +2,5 @@
+Tue Apr 19 10:54:18 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-statsd.spec ++++++
--- /var/tmp/diff_new_pack.BBKSzK/_old  2022-04-20 16:57:12.986616683 +0200
+++ /var/tmp/diff_new_pack.BBKSzK/_new  2022-04-20 16:57:12.990616687 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-statsd
 #
-# 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,7 +26,6 @@
 URL:            https://github.com/jsocol/pystatsd
 Source:         
https://files.pythonhosted.org/packages/source/s/statsd/statsd-%{version}.tar.gz
 Patch0:         remove-nose.patch
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -50,6 +49,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# https://github.com/jsocol/pystatsd/pull/150
+sed -i 's:import mock:from unittest import mock:' statsd/tests.py
 %pytest statsd/tests.py
 
 %files %{python_files}

Reply via email to