Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-humanfriendly for openSUSE:Factory checked in at 2022-03-21 20:13:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-humanfriendly (Old) and /work/SRC/openSUSE:Factory/.python-humanfriendly.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-humanfriendly" Mon Mar 21 20:13:09 2022 rev:17 rq:963714 version:10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-humanfriendly/python-humanfriendly.changes 2021-11-21 23:52:41.210155302 +0100 +++ /work/SRC/openSUSE:Factory/.python-humanfriendly.new.25692/python-humanfriendly.changes 2022-03-21 20:13:27.404525516 +0100 @@ -1,0 +2,8 @@ +Mon Mar 21 12:15:56 UTC 2022 - pgaj...@suse.com + +- do not require mock for build +- added patches + fix https://github.com/xolox/python-humanfriendly/issues/62 + + python-humanfriendly-no-mock.patch + +------------------------------------------------------------------- New: ---- python-humanfriendly-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-humanfriendly.spec ++++++ --- /var/tmp/diff_new_pack.knLZTc/_old 2022-03-21 20:13:27.928526021 +0100 +++ /var/tmp/diff_new_pack.knLZTc/_new 2022-03-21 20:13:27.936526029 +0100 @@ -1,7 +1,7 @@ # # 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 @@ -33,6 +33,8 @@ License: MIT URL: https://github.com/xolox/python-humanfriendly Source: https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-%{version}.tar.gz +# https://github.com/xolox/python-humanfriendly/issues/62 +Patch0: python-humanfriendly-no-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -73,6 +75,7 @@ %prep %setup -q -n humanfriendly-%{version} +%patch0 -p1 %build %python_build ++++++ python-humanfriendly-no-mock.patch ++++++ Index: humanfriendly-10.0/humanfriendly/tests.py =================================================================== --- humanfriendly-10.0.orig/humanfriendly/tests.py 2021-06-11 12:43:08.000000000 +0200 +++ humanfriendly-10.0/humanfriendly/tests.py 2022-03-21 13:05:02.302356424 +0100 @@ -123,7 +123,7 @@ from humanfriendly.usage import ( ) # Test dependencies. -from mock import MagicMock +from unittest.mock import MagicMock class HumanFriendlyTestCase(TestCase):