diff --git a/backend/Dockerfile b/backend/Dockerfile index 93df9fe7..e0bdf764 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-bookworm +FROM python:3.12-bookworm RUN mkdir app WORKDIR /app diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 042be049..ca63364a 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -2,7 +2,7 @@ name = "appointment" version = "0.3.0" description = "Backend component to Thunderbird Appointment" -requires-python = ">3.11" +requires-python = ">3.12" dynamic = ["dependencies"] [project.scripts] @@ -60,8 +60,8 @@ exclude = [ "venv", ] -# Always generate Python 3.11-compatible code. -target-version = "py311" +# Always generate Python 3.12-compatible code. +target-version = "py312" [tool.ruff.format] # Prefer single quotes over double quotes.