zach-overflow opened a new pull request, #74244:
URL: https://github.com/apache/airflow/pull/74244
<!-- SPDX-License-Identifier: Apache-2.0
https://www.apache.org/licenses/LICENSE-2.0 -->
---
## What?
* Migrates `airflow-core`'s usage of `httpx` to `httpx2`, following the
general migration guidance
[here](https://pydantic.dev/docs/httpx2/get-started/migration/).
* Stacked off the related task-sdk migration PR
(https://github.com/apache/airflow/pull/73116) since there is some code overlap.
* Adds an [`ast-grep`](https://github.com/ast-grep/ast-grep) pre-commit
check to prevent re-introducing `httpx` in the Task SDK, mirroring the
providers one.
## Why?
* closes: https://github.com/apache/airflow/issues/70522
* Stacked on: https://github.com/apache/airflow/pull/73116
##### Was generative AI tooling used to co-author this PR?
<!--
If generative AI tooling has been used in the process of authoring this PR,
please
change below checkbox to `[X]` followed by the name of the tool, uncomment
the "Generated-by".
-->
- [X] Yes (tool specified below)
Code changes Generated-by: [Claude Code, Opus extra-high effort] following
[the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
Self-reviewed and adjusted as needed by hand
PR description hand-written
## Additional Notes
A similar change to `providers` is already merged. See
https://github.com/apache/airflow/pull/72111
--
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]