From a118345d7b227c7c2b1f78f5942b44fd28806dcb Mon Sep 17 00:00:00 2001 From: Matt McFarland Date: Tue, 26 Mar 2024 09:26:23 -0400 Subject: [PATCH] Upgrade pystac to avoid json-schema errors Item validation at version 1.7.* seems to have been broken due to changes in the github.com hosted GeoJSON Geometry json-schema file. Later versions seem to have vendored this file and are not affected by the change. --- pcstac/requirements.txt | 4 ++-- pcstac/setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcstac/requirements.txt b/pcstac/requirements.txt index a9000342..65feeaee 100644 --- a/pcstac/requirements.txt +++ b/pcstac/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --extra=server --output-file=pcstac/requirements.txt --resolver=backtracking pccommon/setup.py pcstac/setup.py +# pip-compile --extra=server --output-file=pcstac/requirements.txt pccommon/setup.py pcstac/setup.py # anyio==3.6.2 # via @@ -177,7 +177,7 @@ pypgstac[psycopg]==0.7.3 # via # pcstac (pcstac/setup.py) # stac-fastapi-pgstac -pystac==1.7.1 +pystac==1.9.0 # via # pcstac (pcstac/setup.py) # stac-fastapi-types diff --git a/pcstac/setup.py b/pcstac/setup.py index 2b1496b3..ab3b7fc9 100644 --- a/pcstac/setup.py +++ b/pcstac/setup.py @@ -10,7 +10,7 @@ "stac-fastapi.types==2.4.5", # Required due to some imports related to pypgstac CLI usage in startup script "pypgstac[psycopg]~=0.7", - "pystac==1.*", + "pystac>=1.8,<2.0", ] extra_reqs = {