Skip to content

Update base image and crane#561

Open
bio-boris wants to merge 14 commits intomainfrom
update_python_base_image
Open

Update base image and crane#561
bio-boris wants to merge 14 commits intomainfrom
update_python_base_image

Conversation

@bio-boris
Copy link

@bio-boris bio-boris commented Mar 4, 2026

Feature: Update python base image, crane image and python deps to reduce CVES. Specify linux as this repo cannot be uv installed on a mac.
Commits should be squashed for this small feature.

Hack to update uv lockfile on a mac

docker run --rm -v $(pwd):/app -w /app python:3.12.13-slim sh -c \
  "pip install uv -q && uv add 'cryptography>=46.0.5' 'python-multipart>=0.0.22' 'starlette>=0.49.3'"
  

Upgrading to starlette 0.5.0 breaks tests?? No , CI is just down.

Copilot AI review requested due to automatic review settings March 4, 2026 21:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Docker base images used for both the build and runtime stages to a specific Python 3.12 patch release, improving version pinning consistency for container builds.

Changes:

  • Bump build-stage base image from python:3.12 to python:3.12.13.
  • Bump runtime-stage base image from python:3.12 to python:3.12.13.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.34%. Comparing base (f948842) to head (f2acd6d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   53.34%   53.34%           
=======================================
  Files          69       69           
  Lines        5931     5931           
=======================================
  Hits         3164     3164           
  Misses       2767     2767           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bio-boris bio-boris changed the title Update python base image Update base image and crane Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants