From 8aa90c16a14b47d989016ed83b7fc4e1e7e46cb0 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 29 Jul 2020 08:33:10 +0100 Subject: [PATCH] Avoid pytest 6.0.0 Avoid incompatibility issues caused by https://github.com/pytest-dev/pytest/issues/7559 We only avoid 6.0.0 because a fix will be included in 6.0.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 97f40083..c8f8c1f6 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ package_data={"pytest_html": ["resources/*"]}, entry_points={"pytest11": ["html = pytest_html.plugin"]}, setup_requires=["setuptools_scm"], - install_requires=["pytest>=5.0", "pytest-metadata"], + install_requires=["pytest>=5.0,!=6.0.0", "pytest-metadata"], license="Mozilla Public License 2.0 (MPL 2.0)", keywords="py.test pytest html report", python_requires=">=3.6",