You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "nailo2c (via GitHub)" <gi...@apache.org> on 2026/06/24 09:20:18 UTC

[PR] Generate and publish build constraints [airflow]

nailo2c opened a new pull request, #68937:
URL: https://github.com/apache/airflow/pull/68937

   This is PR 1 of the four-PR replacement for #65511.
   
   It generates pinned build constraints from workspace and locked sdist build metadata, uploads them with the existing constraints artifacts, and publishes them to the constraints branch.
   
   The generated `build-constraints-*.txt` files are inert in this PR. Airflow installation flows do not consume them yet.
   
   Validation:
   
   - `breeze run pytest scripts/tests/in_container/test_generate_build_constraints.py -xvs` — 68 passed
   - `prek run ruff --from-ref upstream/main`
   - `prek run ruff-format --from-ref upstream/main`
   - `prek run --from-ref upstream/main --stage pre-commit`
   - `prek run --from-ref upstream/main --stage manual`
   - Python 3.10 generation verified for all three modes with identical non-comment build constraints, unchanged runtime constraints, and a reused sdist cache
   - publication dry-run created a local constraints commit containing the new build constraints and only expected constraints `.txt` files; nothing was pushed
   
   related: #54394
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-5)
   
   Generated-by: Codex (GPT-5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Generate and publish build constraints [airflow]

Posted by "nailo2c (via GitHub)" <gi...@apache.org>.
nailo2c commented on PR #68937:
URL: https://github.com/apache/airflow/pull/68937#issuecomment-4921184577

   Closing this PR based on the discussion in https://github.com/apache/airflow/pull/68962.
   
   The expected benefit of adding build constraints support does not seem to justify the added complexity and potential CI/build cost for current Airflow. Thanks everyone for the review and feedback.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Generate and publish build constraints [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #68937:
URL: https://github.com/apache/airflow/pull/68937#issuecomment-4929194420

   Thanks for understanding @nailo2c!


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Generate and publish build constraints [airflow]

Posted by "nailo2c (via GitHub)" <gi...@apache.org>.
nailo2c closed pull request #68937: Generate and publish build constraints
URL: https://github.com/apache/airflow/pull/68937


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org