Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-html5lib for openSUSE:Factory
checked in at 2022-03-28 16:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-html5lib (Old)
and /work/SRC/openSUSE:Factory/.python-html5lib.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-html5lib"
Mon Mar 28 16:58:09 2022 rev:23 rq:964384 version:1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-html5lib/python-html5lib.changes
2020-09-04 11:00:32.258669184 +0200
+++
/work/SRC/openSUSE:Factory/.python-html5lib.new.1900/python-html5lib.changes
2022-03-28 16:58:14.848780784 +0200
@@ -1,0 +2,8 @@
+Mon Mar 21 14:10:17 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+- added patches
+ fix https://github.com/html5lib/html5lib-python/issues/541
+ + python-html5lib-no-mock.patch
+
+-------------------------------------------------------------------
New:
----
python-html5lib-no-mock.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-html5lib.spec ++++++
--- /var/tmp/diff_new_pack.nFmJPJ/_old 2022-03-28 16:58:15.336781447 +0200
+++ /var/tmp/diff_new_pack.nFmJPJ/_new 2022-03-28 16:58:15.340781452 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-html5lib
#
-# Copyright (c) 2020 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 @@
Source:
https://files.pythonhosted.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
# PATCH-FIX_UPSTREAM
https://github.com/html5lib/html5lib-python/commit/2c19b9899ab3a3e8bd0ca35e5d78544334204169
Use Node.from_parent() constructor to support pytest 6
Patch0: pytest6.patch
+# https://github.com/html5lib/html5lib-python/issues/541
+Patch1: python-html5lib-no-mock.patch
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module mock}
++++++ python-html5lib-no-mock.patch ++++++
Index: html5lib-1.1/html5lib/tests/test_meta.py
===================================================================
--- html5lib-1.1.orig/html5lib/tests/test_meta.py 2020-06-23
01:23:02.000000000 +0200
+++ html5lib-1.1/html5lib/tests/test_meta.py 2022-03-21 14:42:19.011204038
+0100
@@ -1,7 +1,7 @@
from __future__ import absolute_import, division, unicode_literals
import six
-from mock import Mock
+from unittest.mock import Mock
from . import support