[Snyk] Security upgrade python from 3.9.10 to 3.13.11#173
[Snyk] Security upgrade python from 3.9.10 to 3.13.11#173
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-FREETYPE-9402510 - https://snyk.io/vuln/SNYK-DEBIAN11-FREETYPE-9402510 - https://snyk.io/vuln/SNYK-DEBIAN11-FREETYPE-9402510 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBWEBP-5893094 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBWEBP-5893094
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| @@ -1,4 +1,4 @@ | |||
| FROM python:3.9.10 | |||
| FROM python:3.13.11 | |||
There was a problem hiding this comment.
Bug: Python upgrade breaks app due to deprecated Streamlit API
Upgrading from Python 3.9.10 to 3.13.11 will cause pip install to fetch newer dependency versions since requirements.txt doesn't pin versions. The application's app.py uses the deprecated @st.cache(allow_output_mutation=True) decorator, which has been removed in recent Streamlit versions that support Python 3.13. This will cause the container to fail at runtime with an AttributeError when the app attempts to use the removed st.cache decorator.
Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):
streamlit_fargat/DockerfileWe recommend upgrading to
python:3.13.11, as this image has only 189 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.Vulnerabilities that will be fixed with an upgrade:
SNYK-DEBIAN11-FREETYPE-9402510
SNYK-DEBIAN11-FREETYPE-9402510
SNYK-DEBIAN11-FREETYPE-9402510
SNYK-DEBIAN11-LIBWEBP-5893094
SNYK-DEBIAN11-LIBWEBP-5893094
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Out-of-bounds Write
Note
Updates
streamlit_fargat/Dockerfilebase image frompython:3.9.10topython:3.13.11.Written by Cursor Bugbot for commit ec84856. This will update automatically on new commits. Configure here.