From 2e79dcece0ed5235ebdcac8fb4c0fce2d607df0d Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Mon, 28 Oct 2024 16:51:04 -0600 Subject: [PATCH 1/4] upgrade to stac-fastapi-pgstac --- stac_api/runtime/setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stac_api/runtime/setup.py b/stac_api/runtime/setup.py index 604e25dd..c6d72252 100644 --- a/stac_api/runtime/setup.py +++ b/stac_api/runtime/setup.py @@ -8,10 +8,7 @@ long_description = f.read() inst_reqs = [ - "stac-fastapi.api~=2.4", - "stac-fastapi.types~=2.4", - "stac-fastapi.extensions~=2.4", - "stac-fastapi.pgstac~=2.4", + "stac-fastapi-pgstac==2.5.0", "jinja2>=2.11.2,<4.0.0", "starlette-cramjam>=0.1.0.a0,<0.2", "importlib_resources>=1.1.0;python_version<='3.9'", # https://github.com/cogeotiff/rio-tiler/pull/379 From b875cbebbe8b97610327147b170f95b44fdfc5a2 Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Tue, 29 Oct 2024 10:39:19 -0600 Subject: [PATCH 2/4] pydantic <2 still --- stac_api/runtime/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stac_api/runtime/setup.py b/stac_api/runtime/setup.py index c6d72252..d58e9db5 100644 --- a/stac_api/runtime/setup.py +++ b/stac_api/runtime/setup.py @@ -16,6 +16,7 @@ "aws-lambda-powertools>=1.18.0", "aws_xray_sdk>=2.6.0,<3", "pystac[validation]==1.10.1", + "pydantic[dotenv]>1.10.8,<2" ] extra_reqs = { From ed0d05b8c74a15f3af9582c5def81e7a47e04c15 Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Tue, 29 Oct 2024 10:49:31 -0600 Subject: [PATCH 3/4] lint --- stac_api/runtime/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stac_api/runtime/setup.py b/stac_api/runtime/setup.py index d58e9db5..b5796187 100644 --- a/stac_api/runtime/setup.py +++ b/stac_api/runtime/setup.py @@ -16,7 +16,7 @@ "aws-lambda-powertools>=1.18.0", "aws_xray_sdk>=2.6.0,<3", "pystac[validation]==1.10.1", - "pydantic[dotenv]>1.10.8,<2" + "pydantic[dotenv]>1.10.8,<2", ] extra_reqs = { From dd687207ccdc30e8074e155bc63f6bd81c80c90a Mon Sep 17 00:00:00 2001 From: Alexandra Kirk Date: Tue, 29 Oct 2024 11:47:25 -0600 Subject: [PATCH 4/4] pin fastapi only --- stac_api/runtime/setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stac_api/runtime/setup.py b/stac_api/runtime/setup.py index b5796187..883cd74d 100644 --- a/stac_api/runtime/setup.py +++ b/stac_api/runtime/setup.py @@ -8,7 +8,11 @@ long_description = f.read() inst_reqs = [ - "stac-fastapi-pgstac==2.5.0", + "fastapi==0.115.0", + "stac-fastapi.api~=2.4", + "stac-fastapi.types~=2.4", + "stac-fastapi.extensions~=2.4", + "stac-fastapi.pgstac~=2.4", "jinja2>=2.11.2,<4.0.0", "starlette-cramjam>=0.1.0.a0,<0.2", "importlib_resources>=1.1.0;python_version<='3.9'", # https://github.com/cogeotiff/rio-tiler/pull/379 @@ -16,7 +20,6 @@ "aws-lambda-powertools>=1.18.0", "aws_xray_sdk>=2.6.0,<3", "pystac[validation]==1.10.1", - "pydantic[dotenv]>1.10.8,<2", ] extra_reqs = {