Repository navigation
build(deps): bump python to 3.12.16-slim-bookworm in /shared/python - #1652
Merged
Merged
Conversation
Bump the shared python base from 3.11.5 to the latest 3.12 patch, 3.12.16-slim-bookworm, kept pinned to its manifest-index digest. 3.12 has no cp312 wheels for the old frozenlist/multidict pins, so pip fell back to building them from sdist and failed (no gcc in slim). Regenerate shared/python/aiohttp/requirements.txt (pip-compile --upgrade) so the C-extension deps resolve to versions that ship cp312 wheels (frozenlist 1.8.0, multidict 7.2.1, propcache 0.5.4). Install is wheel-only again on 3.12-slim; verified with the gzip example end to end. Signed-off-by: Ryan Northey <ryan@synca.io>
phlax
force-pushed
the
python-3.12-bump
branch
from
November 20, 2026 18:25
79a468f to
a0baba9
Compare
There was a problem hiding this comment.
🟢 Approval recommended
The Python 3.12 runtime and dependency update has no active review issues.
No open issues 🎉
What changed in this PR
Updates the shared Python runtime used by Envoy examples to Python 3.12, refreshing dependencies to support wheel-based installs on the slim image.
Changes:
- Bumps the base image to digest-pinned
3.12.16-slim-bookworm, replacing the proposed 3.15 upgrade in #1628. - Refreshes aiohttp’s transitive dependencies and hashes while retaining
aiohttp==3.14.5. - Removes duplicate hash entries for aiohttp and yarl.
| File | Description |
|---|---|
shared/python/Dockerfile |
Updates the Python base image tag and digest. |
shared/python/aiohttp/requirements.txt |
Refreshes dependency pins and hashes for Python 3.12 compatibility. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the
pythonbase image inshared/python/from3.11.5-slim-bookwormto the latest 3.12 patch,3.12.16-slim-bookworm, kept pinned to its manifest-index digest. Replaces #1628 (which jumped to 3.15).Python 3.12 has no cp312 wheels for the old
frozenlist/multidictpins, so pip fell back to building them from sdist and failed (nogccin the slim image).shared/python/aiohttp/requirements.txtis regenerated withpip-compile --upgradeso the C-extension deps resolve to wheel-shipping versions (frozenlist1.8.0,multidict7.2.1,propcache0.5.4, + attrs/idna/typing-extensions);aiohttpitself stays 3.14.5. The other hash-pinned requirements already install cleanly on 3.12, so they're untouched.Install is wheel-only again on 3.12-slim; verified with the
gzipexample end to end.