Skip to content

Commit bae7852

Browse files
Upgrade to Python 3.12 (#700)
* Bump python from 3.11.5-slim to 3.12.0-slim Bumps python from 3.11.5-slim to 3.12.0-slim. --- updated-dependencies: - dependency-name: python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Upgrade to Python 3.12 across the project * Upgrade Pylint --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Graham Beckley <[email protected]>
1 parent f505748 commit bae7852

File tree

4 files changed

+711
-715
lines changed

4 files changed

+711
-715
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/setup-python@v4
1111
id: setup-python
1212
with:
13-
python-version: "3.11"
13+
python-version: "3.12"
1414
- name: Install poetry
1515
run: pipx install poetry
1616
- uses: actions/cache@v3
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/setup-python@v4
2828
id: setup-python
2929
with:
30-
python-version: "3.11"
30+
python-version: "3.12"
3131
- name: Install poetry
3232
run: pipx install poetry
3333
- uses: actions/cache@v3

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Creating a python base with shared environment variables
2-
FROM python:3.11.5 as base
2+
FROM python:3.12.0 as base
33
ENV PIP_NO_CACHE_DIR=off \
44
PIP_DEFAULT_TIMEOUT=100 \
55
PIP_DISABLE_PIP_VERSION_CHECK=on \
@@ -12,7 +12,7 @@ ENV PATH="$POETRY_HOME/bin:$PATH"
1212

1313
# Install Poetry - respects $POETRY_VERSION & $POETRY_HOME
1414
RUN python3 -m venv $POETRY_HOME && \
15-
$POETRY_HOME/bin/pip install poetry==1.4.0 && \
15+
$POETRY_HOME/bin/pip install poetry==1.7.1 && \
1616
$POETRY_HOME/bin/poetry --version
1717

1818
# We copy our Python requirements here to cache them
@@ -22,7 +22,7 @@ COPY ./poetry.lock ./pyproject.toml ./
2222
RUN $POETRY_HOME/bin/poetry install --without dev --no-root
2323

2424
# `production` stage uses the dependencies downloaded in the `base` stage
25-
FROM python:3.11.5-slim as production
25+
FROM python:3.12.0-slim as production
2626
ENV PORT=8000 \
2727
PYTHONUNBUFFERED=1 \
2828
PYTHONDONTWRITEBYTECODE=1 \

0 commit comments

Comments
 (0)