Skip to content

[v3-4-test] Migrate airflow-core to httpx2 (#74244) - #75424

Merged
ashb merged 1 commit into
v3-4-testfrom
backport-3b6f02e-v3-4-test
Oct 23, 2026
Merged

ashb merged 1 commit into
v3-4-testfrom
backport-3b6f02e-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Migrate airflow-core from httpx to httpx2

  • Ban httpx imports in airflow-core with ruff instead of ast-grep

Ruff's banned-api rule already covers this, so a separate ast-grep hook only
adds tooling. It also keeps airflow-core consistent with how the Task SDK
enforces the same rule.
(cherry picked from commit 3b6f02e)

Co-authored-by: Zach [email protected]

* Migrate airflow-core from `httpx` to `httpx2`

* Ban httpx imports in airflow-core with ruff instead of ast-grep

Ruff's banned-api rule already covers this, so a separate ast-grep hook only
adds tooling. It also keeps airflow-core consistent with how the Task SDK
enforces the same rule.
(cherry picked from commit 3b6f02e)

Co-authored-by: Zach <[email protected]>
@github-actions github-actions Bot mentioned this pull request Oct 22, 2026
1 task done
@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:task-sdk labels Oct 22, 2026
@ashb
ashb marked this pull request as ready for review October 22, 2026 19:11
@ashb
ashb merged commit fa7d9c0 into v3-4-test Oct 23, 2026
173 of 190 checks passed
@ashb
ashb deleted the backport-3b6f02e-v3-4-test branch October 23, 2026 06:46
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.4.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:task-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants