From 751ed02f4303ee79d8d89cab3f7175514b1c2f19 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Tue, 12 Mar 2024 22:16:35 +0000 Subject: [PATCH] tests: pin pytest version to <8 for now, having some test collection errors https://docs.pytest.org/en/stable/changelog.html#collection-changes --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b8576620..e6bc9fa0 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def main() -> None: install_requires=INSTALL_REQUIRES, extras_require={ 'testing': [ - 'pytest', + 'pytest<8', # FIXME <8 is temporary workaround till we fix collection with pytest 8; see https://docs.pytest.org/en/stable/changelog.html#collection-changes 'ruff', 'mypy', 'lxml', # for mypy coverage