Skip to content

Commit

Permalink
feat: Upgrade Backend Python to 3.12 (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Sunglasses authored Sep 16, 2024
1 parent 7951d99 commit 1e83292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-bookworm
FROM python:3.12-bookworm

RUN mkdir app
WORKDIR /app
Expand Down
6 changes: 3 additions & 3 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 1e83292

Please sign in to comment.