Align Python version between Docker image (3.11) and local dev (3.12) #82
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#82
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Dockerfile uses
tiangolo/uvicorn-gunicorn-fastapi:python3.11while the local venv uses Python 3.12. This version mismatch can cause subtle behavior differences between development and production.Fix
Update the Docker base image to Python 3.12, or document the intentional mismatch if there's a reason for it.
Severity
Low — potential for subtle dev/prod behavior differences.
Fixed in PR #91: #91
Single-line change in
Dockerfile— updated base image fromtiangolo/uvicorn-gunicorn-fastapi:python3.11topython3.12to align with the local dev venv.