- Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Debian Trixie (and remove Bullseye)#1042
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
tianon commented May 19, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
tianon commented May 19, 2025
Opening to verify compilation -- we do not plan to support Debian Trixie officially until it is GA / released. |
tianon commented May 19, 2025
oof, running into #926 (comment) -- not sure why that's persisted into the official builds this long 😕 |
tianon commented May 20, 2025
$ dpkg-query --search '*lib/x86_64-linux-gnu/libbz2.so.1.0''*lib/x86_64-linux-gnu/libc.so.6''*lib/x86_64-linux-gnu/libcrypto.so.3''*lib/x86_64-linux-gnu/libdb-5.3.so''*lib/x86_64-linux-gnu/libffi.so.8''*lib/x86_64-linux-gnu/libgdbm.so.6''*lib/x86_64-linux-gnu/liblzma.so.5''*lib/x86_64-linux-gnu/libm.so.6''*lib/x86_64-linux-gnu/libncursesw.so.6''*lib/x86_64-linux-gnu/libpanelw.so.6''*lib/x86_64-linux-gnu/libreadline.so.8''*lib/x86_64-linux-gnu/libsqlite3.so.0''*lib/x86_64-linux-gnu/libssl.so.3''*lib/x86_64-linux-gnu/libtinfo.so.6''*lib/x86_64-linux-gnu/libuuid.so.1''*lib/x86_64-linux-gnu/libz.so.1''*lib/x86_64-linux-gnu/libzstd.so.1'libbz2-1.0:amd64: /usr/lib/x86_64-linux-gnu/libbz2.so.1.0libc6:amd64: /usr/lib/x86_64-linux-gnu/libc.so.6libssl3t64:amd64: /usr/lib/x86_64-linux-gnu/libcrypto.so.3libdb5.3t64:amd64: /usr/lib/x86_64-linux-gnu/libdb-5.3.solibffi8:amd64: /usr/lib/x86_64-linux-gnu/libffi.so.8libgdbm6t64:amd64: /usr/lib/x86_64-linux-gnu/libgdbm.so.6liblzma5:amd64: /usr/lib/x86_64-linux-gnu/liblzma.so.5libc6:amd64: /usr/lib/x86_64-linux-gnu/libm.so.6libncursesw6:amd64: /usr/lib/x86_64-linux-gnu/libncursesw.so.6libncursesw6:amd64: /usr/lib/x86_64-linux-gnu/libpanelw.so.6diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-mergedlibreadline8t64:amd64: /usr/lib/x86_64-linux-gnu/libreadline.so.8libsqlite3-0:amd64: /usr/lib/x86_64-linux-gnu/libsqlite3.so.0libssl3t64:amd64: /usr/lib/x86_64-linux-gnu/libssl.so.3libtinfo6:amd64: /usr/lib/x86_64-linux-gnu/libtinfo.so.6libuuid1:amd64: /usr/lib/x86_64-linux-gnu/libuuid.so.1zlib1g:amd64: /usr/lib/x86_64-linux-gnu/libz.so.1libzstd1:amd64: /usr/lib/x86_64-linux-gnu/libzstd.so.1 |
daveisfera commented May 20, 2025
GA for Trixie is probably weeks or months away, so would be great to get this out sooner for testing. |
tianon commented May 20, 2025
Debian Bookworm hit "Hard Freeze" on 2023-03-12, "Full Freeze" on 2023-05-24, and wasn't GA until 2023-06-10, so I do think we've got a ways yet. We should absolutely fix the failures in this PR, and plan to, but we do not plan to officially release/support a non-GA version of Debian officially (especially since it's not officially supported by the Debian Security Team until GA). Once it's building successfully, you'll be able to use something like |
daveisfera commented May 20, 2025
If that same timing happens, then we're still 2-3 months from the release. Would love to start testing before that so feedback on any issues can be given to Python and Debian upstream.
That means it would have to be built/tested locally. I was hoping to be able to run it through standard CI and deployed testing environments. |
tianon commented May 20, 2025
Hmm, maybe we can just ignore the diversions instead. 🤔 |
9113c8d to 9df07c8CompareDockerfile-linux.template Outdated
| if rcVersion == "3.9" then "" else ( | ||
| -}} | ||
| $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') \ | ||
| $(test "${gnuArch%%-}" != 'riscv64' && echo '--with-lto') \ |
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.
this %% syntax doens't seem to work for me, $(if ! echo "${gnuArch%%-}" | grep -q 'riscv64'; then echo '--with-lto' ; fi) does, but maybe there's a nicer way...
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.
Doh, I missed the glob - it should be ${gnuArch%%-*} 🤦
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.
that works, thanks 👍🏿
daveisfera commented Jun 16, 2025
Could the Trixie images be released with |
reneleonhardt commented Jun 19, 2025
Could wget be configured to be less verbose? The progressbar isn't really needed in Docker builds. Great that you fixed an old problem! |
| | xargs -r dpkg-query --search \ | ||
| | cut -d: -f1 \ | ||
| | xargs -rt dpkg-query --search \ | ||
| # https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) |
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.
| # https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) | |
| # https://manpages.debian.org/trixie/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) |
kalcutter commented Jul 21, 2025
Is there anything that still needs to be done to get this merged? |
yosifkit commented Jul 21, 2025
Probably a rebase with those conflicts, but mostly just waiting for the Trixie release. We do not plan to support Debian Trixie officially until it is GA / released which means we will not merge this until after the 9th of August. |
daveisfera commented Jul 26, 2025
One last request for a release candidate with an |
reneleonhardt commented Jul 26, 2025
You could even delete rc tags after GA... |
This comment was marked as off-topic.
This comment was marked as off-topic.
ulgens commented Aug 10, 2025
47950d2 into docker-library:masterUh oh!
There was an error while loading. Please reload this page.
yosifkit commented Aug 11, 2025
Changes: - docker-library/python@47950d2d: Merge pull request docker-library/python#1042 from infosiftr/trixie - docker-library/python@093598a0: Add Debian Trixie (and remove Bullseye) - docker-library/python@ff4d235f: Update 3.10 to setuptools 65.5.1 - docker-library/python@f8da2ae7: Update 3.10 to setuptools 56.0.0
Stormheg commented Aug 13, 2025
For anyone watching this issue, trixie images appear to be available now. I can successfully |
prauscher commented Aug 13, 2025
Hello and first of all thanks for providing the update. It appears to me that there currently is no arm64-image for the tag |
yosifkit commented Aug 13, 2025
Not all of our architectures are as fast to build as others. We push them once they are built, but there are many other images to also build since the Debian update also caused a rebuild of all other Debian-based images in DOI. Our build queue is still very full. But it looks like many |
Changes: - docker-library/python@47950d2d: Merge pull request docker-library/python#1042 from infosiftr/trixie - docker-library/python@093598a0: Add Debian Trixie (and remove Bullseye) - docker-library/python@ff4d235f: Update 3.10 to setuptools 65.5.1 - docker-library/python@f8da2ae7: Update 3.10 to setuptools 56.0.0
Closes#1041
Fixes#926