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 backend-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python backend Dockerfile
FROM python:3.9-slim
FROM python:3.14.3-slim
Copy link

Choose a reason for hiding this comment

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

Python 3.14 upgrade breaks pinned dependency compatibility

High Severity

The base image upgrade from python:3.9-slim to python:3.14.3-slim creates an incompatibility with the pinned dependencies in requirements.txt. Packages like numpy==1.24.3 (supports Python 3.8-3.11 only), scipy==1.11.1, pandas==2.1.1, and scikit-learn==1.3.0 were released before Python 3.14 existed and do not support it. The Docker build will fail during pip install -r requirements.txt because these exact versions have no compatible wheels for Python 3.14, and source builds will also fail due to unsupported Python version constraints.

Fix in Cursor Fix in Web


# Set working directory
WORKDIR /app
Expand Down
Loading