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