Skip to content

Commit

Permalink
Update to Python 3.10 (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-noaa committed Jul 8, 2023
2 parents 8515043 + 4df1d32 commit 19c53f5
Show file tree
Hide file tree
Showing 5 changed files with 519 additions and 555 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install dependencies
run: |
poetry env use 3.9
poetry env use 3.10
poetry install
- name: Lint with Black
run: poetry run black --check .
Expand All @@ -59,10 +59,10 @@ jobs:
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install dependencies
run: |
poetry env use 3.9
poetry env use 3.10
poetry install
- name: Check Types with mypy
run: poetry run mypy src/
Expand All @@ -88,10 +88,10 @@ jobs:
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install dependencies
run: |
poetry env use 3.9
poetry env use 3.10
poetry install
- name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bullseye
FROM python:3.10-slim-bullseye

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion docker/diag-etl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.9
FROM public.ecr.aws/lambda/python:3.10

RUN pip3 install --no-cache-dir --upgrade pip setuptools wheel \
&& pip3 install --no-cache-dir poetry
Expand Down
Loading

0 comments on commit 19c53f5

Please sign in to comment.