You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2026/06/03 11:25:48 UTC

[PR] [v3-2-test] Document Python 3.10 client RC reproducibility + verify helper (#67898) [airflow]

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

   * Document Python 3.10 client RC reproducibility and add verify helper
   
   Documents that the Python client reproducible build must run under Python 3.10
   (the trigger_dag_run_post_body.py AST re-emit is interpreter-version sensitive),
   and adds dev/verify_python_client_rc.sh — a headless contributor smoke test that
   boots airflow standalone inside breeze and runs test_python_client.py against
   the live API.
   
   * Fail fast when building Python client under non-default Python
   
   prepare-python-client must run under DEFAULT_PYTHON_MAJOR_MINOR_VERSION
   (3.10): the client generator re-emits trigger_dag_run_post_body.py with
   ast.unparse, which uses the running interpreter's grammar, so any other
   Python yields a non-reproducible client. The existing guard only ran
   after full code generation (which itself can fail or emit nothing under
   the wrong Python), so the command never failed cleanly.
   
   Hoist the check to the start of the command so it exits immediately with
   actionable guidance, and document that the command now refuses to run
   under any other Python.
   (cherry picked from commit e50c2265b659b0637ed87f1a72f19cda13b5ea12)
   
   Co-authored-by: Jarek Potiuk <ja...@potiuk.com>


-- 
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] [v3-2-test] Document Python 3.10 client RC reproducibility + verify helper (#67898) [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #67953:
URL: https://github.com/apache/airflow/pull/67953


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