Hello community,

here is the log from the commit of package python-genty for openSUSE:Factory 
checked in at 2020-12-16 10:59:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-genty (Old)
 and      /work/SRC/openSUSE:Factory/.python-genty.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-genty"

Wed Dec 16 10:59:37 2020 rev:4 rq:855666 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-genty/python-genty.changes        
2020-12-12 20:31:26.853794647 +0100
+++ /work/SRC/openSUSE:Factory/.python-genty.new.2328/python-genty.changes      
2020-12-16 10:59:39.619521140 +0100
@@ -1,0 +2,10 @@
+Mon Dec 14 00:46:41 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix condition around BuildRequirement
+
+-------------------------------------------------------------------
+Sun Dec 13 19:33:37 UTC 2020 - Matej Cepl <[email protected]>
+
+- We don't need to break Python 2.7
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-genty.spec ++++++
--- /var/tmp/diff_new_pack.7l7n4X/_old  2020-12-16 10:59:40.503522009 +0100
+++ /var/tmp/diff_new_pack.7l7n4X/_new  2020-12-16 10:59:40.507522012 +0100
@@ -31,6 +31,9 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+%if 0%{?suse_version} <= 1500
+BuildRequires:  python-mock
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six

++++++ remove_mock.patch ++++++
--- /var/tmp/diff_new_pack.7l7n4X/_old  2020-12-16 10:59:40.547522052 +0100
+++ /var/tmp/diff_new_pack.7l7n4X/_new  2020-12-16 10:59:40.547522052 +0100
@@ -1,11 +1,14 @@
 --- a/test/test_genty.py
 +++ b/test/test_genty.py
-@@ -3,7 +3,7 @@
+@@ -3,7 +3,10 @@
  from __future__ import unicode_literals
  import functools
  import inspect
 -from mock import patch
-+from unittest.mock import patch
++try:
++    from unittest.mock import patch
++except ImportError:
++    from mock import patch
  import six
  from genty import genty, genty_args, genty_dataset, genty_repeat, 
genty_dataprovider
  from genty.genty import REPLACE_FOR_PERIOD_CHAR
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to