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.
The main pyproject.toml has a filterwarnings entry for
pydantic.warnings.PydanticDeprecatedSince20 which doesn't exist in pydantic v1.
This causes pytest to fail at startup when running the pydantic-v1 test session.
Use a temporary pytest.ini with compatible warning filters instead of relying
on the main pyproject.toml configuration.
The test-pydantic-v1 nox session was installing from requirements-dev.lock
which includes heavy dependencies like torch (900MB). This exhausted disk
space on GitHub Actions runners.
Changed to install only the core SDK and minimal test dependencies:
- Core SDK package (editable install)
- pydantic<2 for compatibility testing
- pytest, pytest-asyncio, respx for test execution
- time-machine, dirty-equals for test fixtures
This reduces install size significantly and prevents "No space left on device" errors.