fix: resolve dependency mismatch and Windows encoding issues (#319)
* fix: resolve dependency mismatch and Windows encoding issues
Fixes #316, #317, #318
This PR addresses three bugs affecting the development environment:
1. requirements.txt outdated dependencies (#316)
- Updated anthropic version from 0.39.0 to 0.71.0 to match pyproject.toml
- Added missing POSIX newline at end of file
2. Windows UTF-8 encoding failures in validate_notebooks.py (#317)
- Added explicit encoding='utf-8' to file operations
- Configured stdout/stderr to use UTF-8 on Windows
- Fixes UnicodeDecodeError and UnicodeEncodeError on older Windows systems
3. Pre-commit hook environment mismatch (#318)
- Changed validate-notebooks hook to use 'language: system'
- Updated entry to use 'uv run python' for consistency with uv-based dependency management
Testing: All pre-commit hooks pass successfully
* refactor: remove redundant requirements.txt in
favor of pyproject.toml
Requirements.txt was causing sync issues with
pyproject.toml.
Since the project uses uv for dependency
management, pyproject.toml
and uv.lock are sufficient for managing
dependencies.