Skip to content

Conversation

@aritra24
Copy link
Collaborator

closes: #52106


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

aritra24 added 11 commits June 26, 2025 00:18
Builds python from source, also installs
golang from official distribution. Does
both of these for the ci image only.
Adds support for using the airflow api to fetch
the newest python patch version available for specific
major_minor pair
Updated python fetch request during upgrade to use
github token and fixed the regex
Adds python version from global consts into
build args now for the docker ci.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Jul 10, 2025
@potiuk potiuk added all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs full tests needed We need to run full set of tests for this PR to merge labels Jul 10, 2025
@potiuk
Copy link
Member

potiuk commented Jul 10, 2025

added labels - you can rebase it now to rebuild.

@aritra24
Copy link
Collaborator Author

There's some build failure. Looks like some dependency might be missing. I'll look into it later today

@potiuk
Copy link
Member

potiuk commented Jul 11, 2025

Yeah. 3.11 seems to needs "more" to be built :)

@aritra24
Copy link
Collaborator Author

@potiuk I think we'll need to increase the time to build the images by a little bit. I think they took about 13 minutes for the longest one... We can increase it to about 14 or 15 minutes as the limit? What do you think?

@potiuk
Copy link
Member

potiuk commented Jul 11, 2025

@potiuk I think we'll need to increase the time to build the images by a little bit. I think they took about 13 minutes for the longest one... We can increase it to about 14 or 15 minutes as the limit? What do you think?

Oh absolutely - 15 minutes should be fine. This test is mostly to check if we are not getting into "backtracking" issue.

@potiuk
Copy link
Member

potiuk commented Jul 11, 2025

Just a small mypy issue (fixed in #53191) . But it looks really cool. I tested it locally and got different python versions images. All looks perfect!

@potiuk potiuk merged commit 5aec2d5 into apache:main Jul 11, 2025
159 of 160 checks passed
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 5aec2d5 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

potiuk pushed a commit to potiuk/airflow that referenced this pull request Jul 11, 2025
* Draft: Build python from source

Builds python from source, also installs
golang from official distribution. Does
both of these for the ci image only.

* Updates path

* Adds version upgrade check for python version

Adds support for using the airflow api to fetch
the newest python patch version available for specific
major_minor pair

* Updated to use args in dockerfile for python

* Added support for golang upgrade

* Fixed go version sorting in pre_commit install

* Added github token usage and fixed version regex

Updated python fetch request during upgrade to use
github token and fixed the regex

* Updated dockerfile.ci file

* Added support for multiple python versions

Adds python version from global consts into
build args now for the docker ci.

* Updated python install

* Increases timeout for ci image build

(cherry picked from commit 5aec2d5)
potiuk pushed a commit to potiuk/airflow that referenced this pull request Jul 11, 2025
* Draft: Build python from source

Builds python from source, also installs
golang from official distribution. Does
both of these for the ci image only.

* Updates path

* Adds version upgrade check for python version

Adds support for using the airflow api to fetch
the newest python patch version available for specific
major_minor pair

* Updated to use args in dockerfile for python

* Added support for golang upgrade

* Fixed go version sorting in pre_commit install

* Added github token usage and fixed version regex

Updated python fetch request during upgrade to use
github token and fixed the regex

* Updated dockerfile.ci file

* Added support for multiple python versions

Adds python version from global consts into
build args now for the docker ci.

* Updated python install

* Increases timeout for ci image build

(cherry picked from commit 5aec2d5)
potiuk added a commit that referenced this pull request Jul 12, 2025
* Draft: Build python from source

Builds python from source, also installs
golang from official distribution. Does
both of these for the ci image only.

* Updates path

* Adds version upgrade check for python version

Adds support for using the airflow api to fetch
the newest python patch version available for specific
major_minor pair

* Updated to use args in dockerfile for python

* Added support for golang upgrade

* Fixed go version sorting in pre_commit install

* Added github token usage and fixed version regex

Updated python fetch request during upgrade to use
github token and fixed the regex

* Updated dockerfile.ci file

* Added support for multiple python versions

Adds python version from global consts into
build args now for the docker ci.

* Updated python install

* Increases timeout for ci image build

(cherry picked from commit 5aec2d5)

Co-authored-by: Aritra Basu <24430013+aritra24@users.noreply.github.com>
stephen-bracken pushed a commit to stephen-bracken/airflow that referenced this pull request Jul 15, 2025
* Draft: Build python from source

Builds python from source, also installs
golang from official distribution. Does
both of these for the ci image only.

* Updates path

* Adds version upgrade check for python version

Adds support for using the airflow api to fetch
the newest python patch version available for specific
major_minor pair

* Updated to use args in dockerfile for python

* Added support for golang upgrade

* Fixed go version sorting in pre_commit install

* Added github token usage and fixed version regex

Updated python fetch request during upgrade to use
github token and fixed the regex

* Updated dockerfile.ci file

* Added support for multiple python versions

Adds python version from global consts into
build args now for the docker ci.

* Updated python install

* Increases timeout for ci image build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change sources of our docker images

3 participants