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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim
FROM python:3.14.4-slim
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Python 3.14 incompatible with TensorFlow 2.20.0

High Severity

Upgrading the base image to python:3.14.4-slim breaks the Docker build because tensorflow[and-cuda]==2.20.0 does not publish wheels for Python 3.14. TensorFlow 2.20.0 only supports up to Python 3.13, and even the latest release (2.21.0) lacks Python 3.14 support. The pip3 install on line 3 will fail with a "no matching distribution found" error, making the image unbuildable.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ca1860c. Configure here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep base image on a TensorFlow-supported Python version

Switching the image to python:3.14.4-slim makes this Dockerfile inconsistent with the pinned dependency at RUN pip3 install tensorflow[and-cuda]==2.20.0: TensorFlow 2.20.0 currently publishes wheels/classifiers through Python 3.13, not 3.14, so docker build will fail at install time (or attempt an unsupported source build). This change turns a previously buildable image into one that is very likely broken for all normal builds.

Useful? React with 👍 / 👎.


RUN pip3 install tensorflow[and-cuda]==2.20.0
RUN apt update && apt install -y cmake g++
Expand Down
Loading