-
Notifications
You must be signed in to change notification settings - Fork 80
[Snyk] Security upgrade python from 3.12-slim to 3.14.4-slim #855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Switching the image to Useful? React with 👍 / 👎. |
||
|
|
||
| RUN pip3 install tensorflow[and-cuda]==2.20.0 | ||
| RUN apt update && apt install -y cmake g++ | ||
|
|
||
There was a problem hiding this comment.
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-slimbreaks the Docker build becausetensorflow[and-cuda]==2.20.0does 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. Thepip3 installon line 3 will fail with a "no matching distribution found" error, making the image unbuildable.Reviewed by Cursor Bugbot for commit ca1860c. Configure here.