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 f63502ff9a
commit 7f47af792b
+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",