You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python 3.14 incompatibility due to Pydantic V1 usage #452
The library fails to import on Python 3.14 because it uses from pydantic import v1 as pydantic in resource.py and pagination.py. Pydantic's V1 compatibility layer doesn't support Python 3.14+.
UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
from pydantic import v1 as pydantic # type: ignore
pydantic.v1.errors.ConfigError: unable to infer type for attribute "previous"
The fix would be migrating to native Pydantic V2 APIs. See pydantic/pydantic#9948 for context on the V1 shim being dropped for 3.14.
Tested with Python 3.14.2, pydantic 2.12.5, replicate 1.0.7.
Activity
paulocoutinhox commentedon Jan 8, 2026
I get the same error:
Require Pydantic 2.0+
Require Pydantic 2.0+
Migrate from Pydantic v1 to v2 for Python 3.14 compatibility