Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydenticon for 
openSUSE:Factory checked in at 2022-04-06 21:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydenticon (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydenticon.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydenticon"

Wed Apr  6 21:52:14 2022 rev:6 rq:967351 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydenticon/python-pydenticon.changes      
2021-06-07 22:43:42.060505446 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pydenticon.new.1900/python-pydenticon.changes
    2022-04-06 21:52:51.198634674 +0200
@@ -1,0 +2,5 @@
+Wed Apr  6 12:38:28 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pydenticon.spec ++++++
--- /var/tmp/diff_new_pack.3hruUE/_old  2022-04-06 21:52:51.814627644 +0200
+++ /var/tmp/diff_new_pack.3hruUE/_new  2022-04-06 21:52:51.834627417 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pydenticon
+# spec file
 #
-# 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
@@ -37,7 +37,6 @@
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 BuildRequires:  fdupes
@@ -75,6 +74,8 @@
 
 %check
 %if %{with test}
+# https://github.com/azaghal/pydenticon/issues/11
+sed -i 's:^import mock:from unittest import mock:' tests/test_pydenticon.py
 %pyunittest discover -v
 %endif
 

Reply via email to