Repository navigation
Conversation
- Add zstd-dev so the compression.zstd module is built - Add util-linux-dev so the _uuid C module is built - Remove libnsl-dev and libtirpc-dev, only needed for the nis module removed in Python 3.13 - Also remove idlelib/idle_test with the other test folders Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
|
Ouch, that is bad! We actually dropped the backports in Supervisor (home-assistant/supervisor#6586) under the assumption that Python would ship it 😬 . I'd prefer if we could swap the stack: Ship these fixes for Python 3.14 now, and then have the Python 3.15 bump PR depend on this PR. |
Member
Author
|
Will create a PR for 3.14 from main, so we can ship it |
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.
Summary
Improve the Python 3.14 and 3.15 Dockerfiles:
zstd-dev. Without it thecompression.zstdmodule (new in 3.14) wasn't built.util-linux-dev. This builds the_uuidC module, whichuuiduses when available.libnsl-devandlibtirpc-dev. They were only needed for thenismodule, which was removed in Python 3.13.idlelib/idle_testwhen removing test folders.After this change, the 3.14 and 3.15 Dockerfiles differ only in
PYTHON_VERSION.Testing
Built locally for arm64 on Alpine 3.24:
compression.zstd,_uuid,ssl,sqlite3,decimalandctypes.idle_testis gone.