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
The STAC and Ingest APIs are both using packages that have Pydantic V1 as a dependency:
Ingest API:
The Ingest API is using a forked/pinned version of stac-pydantic which is still using pydantic v1. The changes from that fork should now be available in a new version of stac-pydantic so we should now upgrade to stac-pydantic >=v3.0.x. (which uses pydantic v2).
STAC API
The STAC Api is using stac-fastapi v2.4 which uses Pydantic v1. stac-fastapi >=3.0 uses Pydantic v2
Acceptance Criteria
Ingest API (stac-pydantic) is using stac-pydantic version that uses pydantic v2 and tested using endpoints and Airflow
STAC API (stac-fastapi) is using >=3.0
The text was updated successfully, but these errors were encountered:
smohiudd
changed the title
Ingest API unpin pydantic
Upgrade to Pydantic v2
Aug 27, 2024
Description
The STAC and Ingest APIs are both using packages that have Pydantic V1 as a dependency:
Ingest API:
The Ingest API is using a forked/pinned version of
stac-pydantic
which is still using pydantic v1. The changes from that fork should now be available in a new version of stac-pydantic so we should now upgrade tostac-pydantic
>=v3.0.x. (which uses pydantic v2).STAC API
The STAC Api is using stac-fastapi v2.4 which uses Pydantic v1. stac-fastapi >=3.0 uses Pydantic v2
Acceptance Criteria
The text was updated successfully, but these errors were encountered: