Skip to content

Commit 4e8bb0f

Browse files
authored
feat!: upgrade to latest major/minor versions of core runtime libraries (#224)
1 parent 65a3555 commit 4e8bb0f

File tree

10 files changed

+108
-449
lines changed

10 files changed

+108
-449
lines changed

integration_tests/cdk/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
TitilerPgstacApiLambda,
2121
)
2222

23-
PGSTAC_VERSION = "0.9.5"
23+
PGSTAC_VERSION = "0.9.9"
2424

2525

2626
class VpcStack(Stack):

lib/stac-api/runtime/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [{ name = "hrodmn", email = "henry@developmentseed.org" }]
66
requires-python = ">=3.12"
77
dependencies = [
88
"mangum==0.19",
9-
"stac-fastapi-pgstac[awslambda]>=6.0,<6.1",
9+
"stac-fastapi-pgstac>=6.2,<6.3",
1010
"starlette-cramjam>=0.4,<0.5",
1111
]
1212

lib/stac-api/runtime/uv.lock

Lines changed: 7 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/tipg-api/runtime/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "tipg-api runtime"
55
requires-python = ">=3.12"
66
dependencies = [
77
"mangum==0.19",
8-
"tipg>=1.2,<1.3",
8+
"tipg>=1.3,<1.4",
99
]
1010

1111
[build-system]

lib/tipg-api/runtime/uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/titiler-pgstac-api/runtime/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.0.0"
44
description = "titiler-pgstac-api runtime"
55
requires-python = ">=3.12"
66
dependencies = [
7-
"titiler-pgstac[psycopg-binary]>=1.9.0,<1.10",
87
"mangum==0.19",
8+
"titiler-pgstac[psycopg-binary]>=2.0.0,<2.1.0",
99
]
1010

1111
[dependency-groups]

lib/titiler-pgstac-api/runtime/src/titiler_pgstac_api/handler.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
secret = get_secret_dict(secret_arn_env_var="PGSTAC_SECRET_ARN")
1616
postgres_settings = PostgresSettings(
17-
postgres_host=secret["host"],
18-
postgres_dbname=secret["dbname"],
19-
postgres_user=secret["username"],
20-
postgres_pass=secret["password"],
21-
postgres_port=int(secret["port"]),
17+
pghost=secret["host"],
18+
pgdatabase=secret["dbname"],
19+
pguser=secret["username"],
20+
pgpassword=secret["password"],
21+
pgport=int(secret["port"]),
2222
)
2323

2424
_connection_initialized = False

lib/titiler-pgstac-api/runtime/uv.lock

Lines changed: 49 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { aws_lambda as lambda, CustomResource } from "aws-cdk-lib";
22

33
export type CustomLambdaFunctionProps = lambda.FunctionProps | any;
4-
export const DEFAULT_PGSTAC_VERSION = "0.9.5";
4+
export const DEFAULT_PGSTAC_VERSION = "0.9.9";
55

66
/**
77
* Resolves Lambda code by using custom user code if provided,

uv.lock

Lines changed: 38 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)