Skip to content

Commit a118345

Browse files
committed
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.
1 parent 61a0ea9 commit a118345

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pcstac/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --extra=server --output-file=pcstac/requirements.txt --resolver=backtracking pccommon/setup.py pcstac/setup.py
5+
# pip-compile --extra=server --output-file=pcstac/requirements.txt pccommon/setup.py pcstac/setup.py
66
#
77
anyio==3.6.2
88
# via
@@ -177,7 +177,7 @@ pypgstac[psycopg]==0.7.3
177177
# via
178178
# pcstac (pcstac/setup.py)
179179
# stac-fastapi-pgstac
180-
pystac==1.7.1
180+
pystac==1.9.0
181181
# via
182182
# pcstac (pcstac/setup.py)
183183
# stac-fastapi-types

pcstac/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"stac-fastapi.types==2.4.5",
1111
# Required due to some imports related to pypgstac CLI usage in startup script
1212
"pypgstac[psycopg]~=0.7",
13-
"pystac==1.*",
13+
"pystac>=1.8,<2.0",
1414
]
1515

1616
extra_reqs = {

0 commit comments

Comments
 (0)