Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13-slim
FROM python:3.14-slim

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential bug: The Docker image upgrade to Python 3.14 is incompatible with the pinned psycopg2-binary==2.9.10, which only supports up to Python 3.13.
  • Description: The Dockerfile is being updated to use Python 3.14, but requirements.txt pins psycopg2-binary to version 2.9.10. This version of psycopg2-binary does not support Python 3.14; compatibility was added in version 2.9.11. Since the production environment uses PostgreSQL, this incompatibility will likely cause the pip install command to fail during the Docker build. If the build were to succeed, it would lead to runtime errors when the application attempts to connect to the database. This issue is not caught by CI, as tests are only run against Python 3.12.

  • Suggested fix: Update the psycopg2-binary dependency in requirements.txt to a version that supports Python 3.14, such as psycopg2-binary>=2.9.11. This will ensure the dependency can be installed and run correctly in the new Python 3.14 environment.
    severity: 0.95, confidence: 0.98

Did we get this right? 👍 / 👎 to inform future reviews.


# Set working directory
WORKDIR /app
Expand Down
Loading