From c155e2a3511d2f709091247d171e424075d4ad3b Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 7 Feb 2022 14:13:56 +0100 Subject: [PATCH] Use pytest<7 for tests --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f3492186..17cd7437 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ WEB_FILES = ["web/internal_data/css/icon.png", setup_requires = [] if {"pytest", "test", "ptr"}.intersection(sys.argv): setup_requires.append("pytest-runner") -tests_require = ["pytest-runner", "pytest", "pytest-cov", "pytest-flake8", +tests_require = ["pytest-runner", "pytest<7", "pytest-cov", "pytest-flake8", "pytest-isort", "typeguard", "waitress"] os.environ["PYTEST_ADDOPTS"] = os.environ.get("PYTEST_ADDOPTS", "") # Mypy only supports CPython