From 8bea64d243ed3b99fbb5a8a40581a4d9bd2197a922df86e5b2aadf882914be16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 Jul 2019 12:28:46 +0000 Subject: [PATCH] - Restrict pytest4 for now as upstream supports only 3 series at the moment OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=32 --- python-html5lib.changes | 6 ++++++ python-html5lib.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-html5lib.changes b/python-html5lib.changes index 31d482e..0020f2c 100644 --- a/python-html5lib.changes +++ b/python-html5lib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 19 12:28:28 UTC 2019 - Tomáš Chvátal + +- Restrict pytest4 for now as upstream supports only 3 series + at the moment + ------------------------------------------------------------------- Tue Dec 4 12:48:57 UTC 2018 - Matej Cepl diff --git a/python-html5lib.spec b/python-html5lib.spec index 6aecdbe..9d9b951 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -1,7 +1,7 @@ # # spec file for package python-html5lib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,8 @@ BuildRequires: %{python_module datrie} BuildRequires: %{python_module lxml} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest-expect} -BuildRequires: %{python_module pytest} +# https://github.com/html5lib/html5lib-python/issues/411 +BuildRequires: %{python_module pytest < 4.0} BuildRequires: %{python_module setuptools >= 18.5} BuildRequires: %{python_module six >= 1.9} BuildRequires: %{python_module webencodings}