fix: Restrict pydantic v1 test session to tests/ directory

Explicitly specify tests/ path in pytest command to prevent collecting
tests from pkg/* subpackages which have missing dependencies in the
minimal pydantic v1 test environment.
This commit is contained in:
2025-12-10 02:17:41 -08:00
parent a9a06cf24e
commit ca4ff38b86
+1
View File
@@ -44,6 +44,7 @@ filterwarnings =
try:
session.run(
"pytest",
"tests/", # Explicitly specify tests/ to avoid collecting from pkg/* subpackages
"-c", pytest_ini_path,
"--showlocals",
"--ignore=tests/functional",