Skip to content

Commit

Permalink
Merge pull request #160 from NASA-IMPACT/feature/python-3_9
Browse files Browse the repository at this point in the history
Feature/python 3.9
  • Loading branch information
anayeaye authored Mar 28, 2023
2 parents 26ead17 + ad039b7 commit fde75b4
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- uses: actions/cache@v3
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- name: Setup Node
uses: actions/setup-node@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- uses: actions/cache@v3
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'

- name: Setup Node
uses: actions/setup-node@v1
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'

python-version: '3.9'
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
Expand Down Expand Up @@ -40,8 +40,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'

python-version: '3.9'
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
Expand Down Expand Up @@ -77,8 +77,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'

python-version: '3.9'
- name: Setup Node
uses: actions/setup-node@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion database/runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lambci/lambda:build-python3.8
FROM public.ecr.aws/sam/build-python3.9:latest

ARG PGSTAC_VERSION
RUN echo "Using PGSTAC Version ${PGSTAC_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion raster_api/runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lambci/lambda:build-python3.8
FROM public.ecr.aws/sam/build-python3.9:latest

WORKDIR /tmp

Expand Down
2 changes: 1 addition & 1 deletion raster_api/runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"titiler.application>=0.5,<0.6",
"starlette-cramjam>=0.1.0,<0.2",
"fastapi==0.93.0",
"importlib_resources>=1.1.0;python_version<'3.9'",
"importlib_resources>=1.1.0;python_version<='3.9'", # https://github.com/cogeotiff/rio-tiler/pull/379
"aws_xray_sdk>=2.6.0,<3",
"aws-lambda-powertools>=1.18.0",
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="",
author="Development Seed",
Expand Down
2 changes: 1 addition & 1 deletion stac_api/runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lambci/lambda:build-python3.8
FROM public.ecr.aws/sam/build-python3.9:latest

WORKDIR /tmp

Expand Down
2 changes: 1 addition & 1 deletion stac_api/runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"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'",
"importlib_resources>=1.1.0;python_version<='3.9'", # https://github.com/cogeotiff/rio-tiler/pull/379
"pygeoif<=0.8", # newest release (1.0+ / 09-22-2022) breaks a number of other geo libs
"aws-lambda-powertools>=1.18.0",
"aws_xray_sdk>=2.6.0,<3",
Expand Down

0 comments on commit fde75b4

Please sign in to comment.