fix: update Docker base image from Python 3.11 to 3.12 (#82) #91
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#91
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue/82-align-python-version-between-docker-image-3-11-and"
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?
Closes #82
Updated the Dockerfile base image from
tiangolo/uvicorn-gunicorn-fastapi:python3.11totiangolo/uvicorn-gunicorn-fastapi:python3.12to align the Docker environment with the local dev venv (Python 3.12).Changes
Dockerfile: single-line change to base image tagTest results
No test suite in this repo. Change verified by reading back the modified file.
Notes
No other changes were required — the
tiangolo/uvicorn-gunicorn-fastapiimage family provides equivalentpython3.12tags with the same interface.AI Code Review
Files Reviewed
Dockerfile(modified)Findings
Correctness
python3.11→python3.12.requirements.txtare compatible with Python 3.12:numpy==1.26.4supports 3.9–3.12;psycopg2-binary==2.9.11ships a 3.12 wheel;fastapi,uvicorn,starlette,peewee,pandas,redis,requestsall support 3.12. No compatibility issues.Security
Style & Conventions
Suggestions
# Use specific version for reproducible buildsis somewhat misleading —python3.12is a mutable floating tag, not a digest-pinned reference. A@sha256:...digest would be truly reproducible. This is pre-existing and out of scope here, but worth a follow-up.Verdict: APPROVED
Clean, minimal change. Dependency compatibility verified — all pinned packages in
requirements.txtsupport Python 3.12. No behavioral changes.Automated review by Claude PR Reviewer
Checkout
From your project repository, check out a new branch and test the changes.