Skip to content

Commit 8dbc12a

Browse files
authored
fix: upgrade lambda python to 3.12 (#484)
1 parent a787a4d commit 8dbc12a

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

.github/actions/cdk-deploy/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
- name: Set up Python
2222
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525
cache: 'pip'
2626
cache-dependency-path: |
2727
${{ inputs.dir }}/setup.py

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
1212
with:
13-
python-version: '3.11'
13+
python-version: '3.12'
1414

1515
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
1616
with:
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Python
4949
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
5050
with:
51-
python-version: '3.11'
51+
python-version: '3.12'
5252

5353
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
5454
with:
@@ -99,7 +99,7 @@ jobs:
9999
- name: Set up Python
100100
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
101101
with:
102-
python-version: '3.11'
102+
python-version: '3.12'
103103

104104
- name: Setup Node
105105
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e4 #v4.3.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ nvm install 20 # .github/workflows/pr.yml uses node version 20
8787
#### Virtual environment example
8888

8989
```bash
90-
# `pipes` package required by the `fire` package deprecated in python >3.11
91-
pyenv install 3.11
92-
pyenv shell 3.11
90+
# `pipes` package required by the `fire` package deprecated in python >3.12
91+
pyenv install 3.12
92+
pyenv shell 3.12
9393
python3 -m venv .venv
9494
source .venv/bin/activate
9595
```

database/runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 public.ecr.aws/sam/build-python3.11:latest
1+
FROM --platform=linux/amd64 public.ecr.aws/sam/build-python3.12:latest
22

33
ARG PGSTAC_VERSION
44
RUN echo "Using PGSTAC Version ${PGSTAC_VERSION}"

ingest_api/runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/sam/build-python3.11:latest
1+
FROM public.ecr.aws/sam/build-python3.12:latest
22

33
ARG PGSTAC_VERSION
44
RUN echo "Using PGSTAC Version ${PGSTAC_VERSION}"

local/Dockerfile.ingest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/sam/build-python3.11:latest
1+
FROM public.ecr.aws/sam/build-python3.12:latest
22

33
WORKDIR /tmp
44

local/Dockerfile.raster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION=3.11
1+
ARG PYTHON_VERSION=3.12
22

33
FROM ghcr.io/vincentsarago/uvicorn-gunicorn:${PYTHON_VERSION}
44

local/Dockerfile.stac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION=3.11
1+
ARG PYTHON_VERSION=3.12
22

33
FROM ghcr.io/vincentsarago/uvicorn-gunicorn:${PYTHON_VERSION}
44

raster_api/runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 public.ecr.aws/sam/build-python3.11:latest
1+
FROM --platform=linux/amd64 public.ecr.aws/sam/build-python3.12:latest
22

33
WORKDIR /tmp
44

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"Intended Audience :: Science/Research",
4141
"License :: OSI Approved :: BSD License",
4242
"Programming Language :: Python :: 3",
43-
"Programming Language :: Python :: 3.11",
43+
"Programming Language :: Python :: 3.12",
4444
],
4545
keywords="",
4646
author="Development Seed",

0 commit comments

Comments
 (0)