From 8a698108e096b5decb2c6ea356697a786ad9d6fa Mon Sep 17 00:00:00 2001 From: Deepak Jain Date: Sun, 5 Jul 2026 06:51:26 -0700 Subject: [PATCH] fix(pre-commit): use single pytest dependency specifier (#91276) [pytest>=8, <9] is parsed as two items; pip fails on '<9'. Use ["pytest>=8,<9"] so pip gets one valid PEP 440 spec. Pre-commit-only fix from closed #39109. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 880d4c013722..eab288ecc948 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -64,7 +64,7 @@ repos: name: skills python tests entry: pytest -q -c skills/pyproject.toml skills language: python - additional_dependencies: [pytest>=8, <9] + additional_dependencies: ["pytest>=8,<9"] pass_filenames: false files: "^skills/.*\\.py$"