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}