-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
bump debian to bookworm #32004
bump debian to bookworm #32004
Conversation
Yes. Because for non-committers, "build-image" is run from "main" not from your PR and in main you have -
|
The way to solve it later is to make a PR from "airflow" repo (then image build happens in-ci-workflow and the workflow has enough permissions to be able to push such image to airflow registry. But you need "committer" privileges for it. |
thanks for the explanation I could build locally the CI image without mysql -> breeze ci-image build --force-build --python-image python:3.11-slim-bookworm --python 3.11 no mysql release for debian 12 yet -> https://dev.mysql.com/downloads/mysql/ |
Yeah. MySQL is traditionally some 6 months behind everyone else, I really wish we drop |
Up please! |
b2924f6
to
3ade873
Compare
|
Is it not working? For me it is look like the same for bookworm and bullseye There is no info in MySQL page yet about gpg: key 467B942D3A79BD29: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" imported Some reference (not currently updated) |
sorry @Taragolis just realize the error is about mssql |
Seems like Microsoft change a bit installation method, and do not suggest anymore to use deprecated In addition I could see some changes in pre-defined repositories list Debian 11, https://packages.microsoft.com/config/debian/11/prod.list
Debian 12, https://packages.microsoft.com/config/debian/12/prod.list
|
I can build locally the image
@potiuk or @Taragolis what should we do about that ? thanks |
I think you should be able push your change as "main" to your fork, and when you enable the "Test" workflow in your fork, it should build and run tests there. Try it out and if not, we might use the opportunity to fix any issues with it @raphaelauv Simply:
Ping me when you try it and enable workflows and I will help to solve any issues |
BTW. Yes. i think it's about enough time after bookworm was released (more than year) to get all the "other" software to catch up already (without us loosing time on it). As mentioneed before, we were not in a hurry because Bullseye will be supported from July 2024 to 2026 as part of Debian LTS, but we should definitely look closely to switching. And 2.8.0 might be the first time to support it as default and 2.9 we could drop bullseye. However I would very much like to do it like we did with We switched CI to bullseye by default in 2.3 (buster was deprecated) but we still continued to build buster (just build) in CI until 2.4 - and users could choose buster or bullsee by a flag in breeze or choosing buster or bullseye as base image (breeze flag was doing exactly this - switched the base image). Only in 2.4 we dropped buster. This means that once we figure out the right changes to get bookworm working, we should bring them to the code eventually as conditional code (they will slightly differ). This is for example why currently "Build CI image" job fails - because the code in "main" will pass buster image as the base image and it misses gcc11-dev dependency. Also it means that we have to add extra job to at least build bullseye in CI - or maybe at least a subset of tests to run on bullseye still. But we can do it as next step. For now let's make the |
this is the run in the main branch of my fork -> https://github.com/raphaelauv/airflow/actions/runs/6727169212 |
Looks pretty good. celery integration test fails and production image need some fixes but other than that it seems almost working |
celery integration fail was flaky ( rerun worked ) with my last commit I could build locally the prod image
github action on my fork is in progress |
Looks great then. I might want to take it from here and add option to choose bookworm or bullseye as breeze option (but it might be a good exercise for you - happy to help with it :) |
I agree , thanks |
Smth still not fine with K8S tests though it might be a CI issue - maybe you could run K8S tests locally and see if this is replicable locally (there is a really nice chapter explaining how to do in our TESTING.rst and it's a wizard like approach to setup testing with it). In the meantime I will add the bookworm switches to breeze. |
I pushed a fixup with I also opened an "Apache repo" PR to test if the K8S problem is specific to your environment only |
(you are co-author BTW). |
Closing this one as we have #35376 now (and looks like K8S tests are all green there so we are good. Thanks Again for being persistent and leading it! |
it's still using bullseye for the build of CI image
#22 [main 1/33] FROM docker.io/library/python:3.8-slim-bullseye@sha256:6eb2e25b7f582a59c8e78e8cd82b3afaeb3463f961abd33d777841dbfec26ae6
@potiuk do you know why ? thanks