Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Aug 18, 2025

  • we do not have to check Python versions below 3.9 - that significantly speeds up the check

  • we run uv sync --resolution highest in dev/breeze when there are some changes - that will make sure that the latest version of dependencies in breeze are captured in the uv.lock file


^ 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-1-test Mark PR with this label to backport to v3-1-test branch labels Aug 18, 2025
* we do not have to check Python versions below 3.9 - that significantly
  speeds up the check

* we run `uv sync --resolution highest` in dev/breeze when there are some
  changes - that will make sure that the latest version of dependencies in
  breeze are captured in the uv.lock file
@potiuk potiuk force-pushed the improve-upgrade-prek-hook branch from 78b3e42 to 59f8050 Compare August 18, 2025 10:05
@potiuk potiuk requested review from aritra24 and eladkal August 18, 2025 10:06
Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice update :)

@potiuk
Copy link
Member Author

potiuk commented Aug 18, 2025

nice update :)

Yeah. I noticed breeze lock was out of sync after the last change and finally I found a way how we can also make it "eventually consistent".

Thanks to that I have an idea how we can add uv.lock to Airflow and use the .lock instead of constraints for PRs and regular developments (we'd still generate constraints the same way we do now, but we could switch to uv.lock. Let's see how it works - but I think this upgrade-important-versions hook might also be used for that - while we could keep canary build detecting all kind of issues.

@potiuk potiuk linked an issue Aug 18, 2025 that may be closed by this pull request
@potiuk potiuk merged commit c6c6d75 into apache:main Aug 18, 2025
101 checks passed
@potiuk potiuk deleted the improve-upgrade-prek-hook branch August 18, 2025 10:39
github-actions bot pushed a commit that referenced this pull request Aug 18, 2025
* we do not have to check Python versions below 3.9 - that significantly
  speeds up the check

* we run `uv sync --resolution highest` in dev/breeze when there are some
  changes - that will make sure that the latest version of dependencies in
  breeze are captured in the uv.lock file
(cherry picked from commit c6c6d75)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 18, 2025
* we do not have to check Python versions below 3.9 - that significantly
  speeds up the check

* we run `uv sync --resolution highest` in dev/breeze when there are some
  changes - that will make sure that the latest version of dependencies in
  breeze are captured in the uv.lock file
(cherry picked from commit c6c6d75)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Aug 18, 2025
* we do not have to check Python versions below 3.9 - that significantly
  speeds up the check

* we run `uv sync --resolution highest` in dev/breeze when there are some
  changes - that will make sure that the latest version of dependencies in
  breeze are captured in the uv.lock file
(cherry picked from commit c6c6d75)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
kaxil pushed a commit that referenced this pull request Aug 18, 2025
* we do not have to check Python versions below 3.9 - that significantly
  speeds up the check

* we run `uv sync --resolution highest` in dev/breeze when there are some
  changes - that will make sure that the latest version of dependencies in
  breeze are captured in the uv.lock file
(cherry picked from commit c6c6d75)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
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.

Make sure uv.lock in breeze corresponds to pyproject.toml

2 participants