From 3940636d0fa754273ec6c36ce9ea3cb853dd3c9c Mon Sep 17 00:00:00 2001 From: Nick Mastoris Date: Fri, 18 Sep 2026 09:05:57 +0300 Subject: [PATCH] Pin pytest<9 in dev requirements pytest 9.0.0 removed the deprecated 'path' parameter from pytest_collect_file (and related hooks). pytest-black's hookimpl still declares it, so pytest refuses to register the plugin and exits before collecting any tests on whatever pytest 9.x CI installs. --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c518bd6..27275790 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -pytest>=6.2.2 +pytest>=6.2.2,<9 pytest-black>=0.3.12 pytest-cov>=2.11.1 pytest-isort>=1.3.0