9 Commits
Author SHA1 Message Date
zeekay b21ca3a5ce fix: run ruff check --fix and format across entire codebase 2025-12-26 04:31:06 -08:00
zeekay df02cec405 fix: Add nest_asyncio and ignore test_hanzo_dev in pydantic v1 tests
- Add nest_asyncio to test dependencies for test_get_platform
- Ignore test_hanzo_dev.py which requires the hanzo package
2025-12-10 02:55:47 -08:00
zeekay e424359333 fix: Ignore tests requiring optional deps in pydantic v1 session
The pydantic v1 nox session installs only minimal dependencies to avoid
disk space issues. Tests that require optional packages like hanzo,
hanzo_network, click, etc. are already covered by the main test suite.

Ignored tests:
- tests/e2e/ (requires hanzo_network)
- tests/test_fallback.py (requires hanzo/click)
- tests/test_interactive.py (requires hanzo/click)
- tests/test_memory.py (requires hanzo/click)
- tests/test_rate_limiter.py (requires hanzo/click)
- tests/test_refactoring.py (requires hanzo/click)
- tests/test_streaming.py (requires hanzo/click)
- tests/test_todo.py (requires hanzo/click)
2025-12-10 02:32:19 -08:00
zeekay ca4ff38b86 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.
2025-12-10 02:17:41 -08:00
zeekay a9a06cf24e fix: Use proper INI format for pytest.ini in nox session 2025-12-10 02:02:35 -08:00
zeekay 69f77b0ac9 style: Sort imports in noxfile.py 2025-12-10 01:45:56 -08:00
zeekay 669d7dc842 fix: Use custom pytest config for pydantic-v1 tests
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.
2025-12-09 20:08:11 -08:00
zeekay 6606503777 fix: Slim down nox pydantic-v1 test session
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.
2025-12-09 19:52:52 -08:00
stainless-app[bot] 9626b2b0d6 initial commit 2025-03-15 03:31:14 +00:00