github-actions[bot] opened a new pull request, #65829:
URL: https://github.com/apache/airflow/pull/65829

   `breeze release-management check-release-files providers` generates a
   Dockerfile.pmc that copies the root `pyproject.toml` into the CI image
   and then runs `uv pip install`. If the CI image ships an older uv than
   `[tool.uv] required-version`, that install step fails with:
   
       error: Required uv version `>=X.Y.Z` does not match the running
       version `A.B.C`. Update `uv` by running `uv self update`.
   
   This is reproducible today: the current `ghcr.io/apache/airflow/main/ci/
   python3.10` ships uv 0.11.6 while the pin is `>=0.11.7`, so every PMC
   Dockerfile.pmc verification breaks out of the box.
   
   Inject a `pip install --upgrade 'uv>=X.Y.Z'` before the `uv pip install`
   step so the install works regardless of when the CI image was last
   rebuilt. The floor is a module constant with the existing
   `# sync-uv-min-version` marker so the `sync-uv-min-version-markers` prek
   hook keeps it in lockstep with the `[tool.uv] required-version` bump
   going forward — drop `check_release_files.py` into that hook's file
   list and add a belt-and-braces test that the two values match.
   (cherry picked from commit 0df38ffed97e1798db246da704b1a9772cec4f59)
   
   Co-authored-by: Jarek Potiuk <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to