Skip to content

Fix generate-constraints run on different python than base #52464

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

Merged
merged 1 commit into from
Jun 29, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jun 29, 2025

It turns out that when we are installing Breeze we were using the "Image" python version and not the 'default" python version to install breeze, and Python 3.12 and 3.11 are not installed by default when generate-constraints runs.

This change fixes this problem, also it changes the name of the generate-constraints job to only show the python version used.


^ 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.

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch labels Jun 29, 2025
@potiuk potiuk added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Jun 29, 2025
@potiuk potiuk closed this Jun 29, 2025
@potiuk potiuk reopened this Jun 29, 2025
It turns out that when we are installing Breeze we were using
the "Image" python version and not the 'default" python version
to install breeze, and Python 3.12 and 3.11 are not installed by
default when generate-constraints runs.

This change fixes this problem, also it changes the name of the
generate-constraints job to only show the python version used.
@potiuk
Copy link
Member Author

potiuk commented Jun 29, 2025

Merging. Passed the failures.

@potiuk potiuk merged commit 33afdf9 into apache:main Jun 29, 2025
124 checks passed
@potiuk potiuk deleted the fix-generate-constraints-on-python-3-12 branch June 29, 2025 16:18
github-actions bot pushed a commit that referenced this pull request Jun 29, 2025
#52464)

It turns out that when we are installing Breeze we were using
the "Image" python version and not the 'default" python version
to install breeze, and Python 3.12 and 3.11 are not installed by
default when generate-constraints runs.

This change fixes this problem, also it changes the name of the
generate-constraints job to only show the python version used.
(cherry picked from commit 33afdf9)

Co-authored-by: Jarek Potiuk <[email protected]>
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk added a commit that referenced this pull request Jun 29, 2025
#52464) (#52466)

It turns out that when we are installing Breeze we were using
the "Image" python version and not the 'default" python version
to install breeze, and Python 3.12 and 3.11 are not installed by
default when generate-constraints runs.

This change fixes this problem, also it changes the name of the
generate-constraints job to only show the python version used.
(cherry picked from commit 33afdf9)

Co-authored-by: Jarek Potiuk <[email protected]>
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-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants