What's Changed
- chore: sync sdk code with DeepLearning repo by @zkleb-aai in #151
Fixes incompatibility with Python 3.14+ where Pydantic V1's compatibility layer (pydantic.v1) is not supported.
Changes:
Update setup.py to require Pydantic V2 and pydantic-settings for Python 3.14+
Add Python 3.12, 3.13, 3.14 to supported version classifiers
Enhance import logic in types.py to raise clear error message when Pydantic V2 is not available on Python 3.14+
Maintain backward compatibility with Python 3.8-3.13 supporting both Pydantic V1 and V2
The SDK now properly uses Pydantic V2 natively on Python 3.14+ while preserving existing behavior on earlier Python versions.
Full Changelog: 0.48.0...0.48.1