-
-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update python docker tag to v3.14 #46
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: main
Are you sure you want to change the base?
Conversation
|
Merging to
|
Welcome @renovate[bot]! 🎉Great PR! I've analyzed your code changes for:
Ready to see the full review?
Let's make your code even better together! 🚀 |
Reviewer's GuideThis pull request updates the Python version from 3.12 to 3.13 across the project configuration files. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
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.
PR Summary
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here: https://app.greptile.com/review/github.
3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
|
Here's the code health analysis summary for commits Analysis Summary
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Dockerfile
Outdated
| @@ -1,4 +1,4 @@ | |||
| FROM python:3.12-bookworm | |||
| FROM python:3.13-bookworm | |||
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.
Semgrep identified a blocking 🔴 issue in your code:
To ensure reproducible builds, pin Dockerfile FROM commands to a specific hash. You can find the hash by running docker pull python and then specify it with python:3.13-bookworm@sha256:<hash goes here>
To resolve this comment:
✨ Commit Assistant fix suggestion
| FROM python:3.13-bookworm | |
| FROM python:3.13-bookworm@sha256:ea6ec900d7de61fbf6eea6b5d15d9f00a162ff2da6e400a7042c3ac875f6cf13 | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV POETRY_VIRTUALENVS_CREATE=0 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| watchman \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir -U pip setuptools wheel | |
| RUN pip install --no-cache-dir uv | |
| # Copy from the cache instead of linking since it's a mounted volume | |
| ENV UV_LINK_MODE=copy | |
| ENV UV_SYSTEM_PYTHON=true | |
| ENV UV_BREAK_SYSTEM_PACKAGES=true | |
| ENV UV_PROJECT_ENVIRONMENT=/usr/local | |
| # Install the project's dependencies using the lockfile and settings | |
| RUN --mount=type=cache,target=/root/.cache/uv \ | |
| --mount=type=bind,source=uv.lock,target=uv.lock \ | |
| --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ | |
| uv sync --frozen --no-install-project |
View step-by-step instructions
- Run
$ docker pull python:3.13-bookwormto ensure you have the latest image locally. - Run
$ docker inspect --format='{{index .RepoDigests 0}}' python:3.13-bookwormto find the image's digest (it will look likepython@sha256:<hash>). - Replace
FROM python:3.13-bookwormwithFROM python:3.13-bookworm@sha256:<hash>using the hash you found in the previous step.
Specifying a digest ensures that the build will always use the exact same version of the image, making builds reproducible.
💬 Ignore this finding
Reply with Semgrep commands to ignore this finding.
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by dockerfile-source-not-pinned.
You can view more details about this finding in the Semgrep AppSec Platform.
8862740 to
3885214
Compare
|
46f6fe4 to
f23524b
Compare
f23524b to
460911c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Please upload reports for the commit 8c1f8e7 to get more accurate results. @@ Coverage Diff @@
## main #46 +/- ##
=======================================
Coverage 94.15% 94.15%
=======================================
Files 31 31
Lines 1368 1368
Branches 25 25
=======================================
Hits 1288 1288
Misses 79 79
Partials 1 1 |
|
460911c to
2848aba
Compare
cd576c0 to
1949b44
Compare
22f19cc to
76d8a45
Compare
04c19bb to
ffc9b4a
Compare
399293b to
0a40c24
Compare
0a40c24 to
8c1f8e7
Compare



This PR contains the following updates:
3.12->3.14Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This change is
Summary by Bito
This pull request updates the Python version from 3.12 to 3.14, enhancing performance and security. No other files or changes are affected in this update.