From 368b9c056f1c789b870af1bf75132995625d8032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ne=C3=9Flauer?= Date: Sat, 4 Jul 2026 19:39:16 +0200 Subject: [PATCH] Pin pytest below 9 until pytest-pylint supports it pytest 9 removed the legacy 'path' hook parameter that pytest-pylint 0.21.0 still declares, so every run dies at plugin registration (carsongee/pytest-pylint#197); no compatible pytest-pylint release exists. --- netkan/pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/netkan/pyproject.toml b/netkan/pyproject.toml index 883f4b5..ac2ffc2 100644 --- a/netkan/pyproject.toml +++ b/netkan/pyproject.toml @@ -40,7 +40,9 @@ development = [ "boto3-stubs[essential,cloudwatch]", "coverage", "troposphere", - "pytest", + # 2026-07-04 capping below 9 - pytest-pylint crashes on pytest 9, + # https://github.com/carsongee/pytest-pylint/issues/197 + "pytest<9", "mypy", "pytest-mypy", "pylint", @@ -54,7 +56,9 @@ development = [ test = [ "boto3-stubs[essential,cloudwatch]", "coverage", - "pytest", + # 2026-07-04 capping below 9 - pytest-pylint crashes on pytest 9, + # https://github.com/carsongee/pytest-pylint/issues/197 + "pytest<9", "mypy", "pytest-mypy", "pylint",