Skip to content

fix: upgrade certifi and uv image (CLIM-1546) - #50

Merged
mortenoh merged 1 commit into
mainfrom
fix/certifi-emudhra
Oct 21, 2026
Merged

mortenoh merged 1 commit into
mainfrom
fix/certifi-emudhra

Conversation

@mortenoh

@mortenoh mortenoh commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Eight eMudhra intermediate CA certificates have recoverable private keys (https://emudhra.we-have-a-problem.com/, published 2026-10-20). servicekit's HTTP clients (httpx, and requests through the OpenTelemetry exporter) trust them through certifi 2026.5.20, a transitive dependency. The example Dockerfiles also build with the uv 0.9 image, which trusts them too.

Summary

  • Upgrade certifi to 2026.10.19 in uv.lock (uv lock --upgrade-package certifi). It stays a transitive dependency, so pyproject.toml is unchanged. uv 0.13.4 also bumps the lockfile revision from 3 to 5. CI installs the latest uv, so it reads the new format.
  • Change the builder image in the six examples/*/Dockerfile files from uv:0.9-python3.13-bookworm-slim to uv:0.13-python3.13-trixie-slim (the fix is in uv 0.13.4). uv 0.13 publishes no bookworm images, and the python:3.13-slim runtime stage is already trixie, so both stages now use the same Debian release.

No base image is pinned by @sha256. CI workflows install the latest uv through setup-uv.

Test plan

  • make lint: clean
  • make test: 520 passed, 5 skipped
  • Built examples/core_api/Dockerfile locally. It builds, and the image has certifi 2026.10.19. The other five examples use the same builder stage and were not built.

Jira: CLIM-1546

@mortenoh
mortenoh force-pushed the fix/certifi-emudhra branch from d4c6e7c to dec7b6d Compare October 21, 2026 11:41
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mortenoh
mortenoh marked this pull request as ready for review October 21, 2026 11:52
@mortenoh
mortenoh merged commit 9cd767e into main Oct 21, 2026
8 checks passed
@mortenoh
mortenoh deleted the fix/certifi-emudhra branch October 21, 2026 11:52
@mortenoh mortenoh mentioned this pull request Oct 28, 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.

1 participant