Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 1, 2025

Our dependencies should be set in "upgrade to newer dependencies" mode every time every single pyproject.toml changes - this is slower as it triggers full builds with all versions but it also prevents some errors when dependencies from one provider are impacting what will be resolved in the CI image. As part of it - whenever we run the dependency report with "source constraints" we use exactly the same uv sync command as used during image build with "ugprade to newer dependencies" - this way the report is more accurate as it includes some dependencies from dev dependency groups that have not been included in the current reports.
(cherry picked from commit c489678)


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

Our dependencies should be set in "upgrade to newer dependencies"
mode every time every single pyproject.toml changes - this is slower
as it triggers full builds with all versions but it also prevents some
errors when dependencies from one provider are impacting what will
be resolved in the CI image. As part of it - whenever we run the
dependency report with "source constraints" we use exactly the same
`uv sync` command as used during image build with "ugprade to
newer dependencies" - this way the report is more accurate as it
includes some dependencies from dev dependency groups that have
not been included in the current reports.
(cherry picked from commit c489678)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk merged commit d59c7a5 into apache:v3-0-test Jul 1, 2025
6 checks passed
@potiuk potiuk deleted the backport-c489678-v3-0-test branch July 1, 2025 08:36
@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 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant