potiuk opened a new pull request, #65607: URL: https://github.com/apache/airflow/pull/65607
httpx 1.0 (currently \`1.0.dev3\` on PyPI) is a ground-up API rewrite: the entire exception hierarchy (\`HTTPStatusError\`, \`RequestError\`, \`ConnectError\`, \`ReadError\`, \`TimeoutException\`, ...) was removed and client/transport/auth interfaces were redesigned. airflow-ctl currently uses \`httpx.HTTPStatusError\`, \`httpx.ConnectError\`, \`AsyncClient\`, and \`Response.raise_for_status()\` throughout \`api/client.py\` and \`api/operations.py\`, so pre-release httpx 1.x breaks \`airflowctl\` at import-time (\`ModuleNotFoundError\` / \`AttributeError\`) and the tool fails to start. Reported during 0.1.4rc2 testing in #65497 — user had to work around it with \`--with 'httpx==0.28.1'\` on install. Cap to \`<1.0\` so \`uv tool install apache-airflow-ctl --prerelease=allow\` does not accidentally pull the rewrite. Migration to httpx 1.x will be tracked as a separate effort (will open a tracking issue). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 4.7 (1M context) Generated-by: Claude Opus 4.7 (1M context) 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
