NASA-IMPACT / veda-backend

Backend services for VEDA
Other
11 stars 5 forks source link

Make ingest-api pypgstac version configurable #372

Open anayeaye opened 4 months ago

anayeaye commented 4 months ago

What

Pypgstac version should correspond to the configured PGSTAC_VERSION but is currently hard coded in the ingest-api requirements.txt. See the database/runtime/Dockerfile for how the environment variable can be used to install the same pypgstac version as the pgstac version used in postgres.

RUN pip install requests "urllib3<2" psycopg[binary,pool] pypgstac==${PGSTAC_VERSION} -t /asset

AC