Repository navigation
Migrate google + pagerduty + anthropic providers to httpx2 - #72111
Merged
Merged
Conversation
zach-overflow
force-pushed
the
zo/initial-httpx2-support
branch
from
August 27, 2026 17:12
d59a68b to
9f5c64d
Compare
zach-overflow
marked this pull request as ready for review
August 27, 2026 20:38
zach-overflow
requested review from
dabla,
gopidesupavan,
kaxil and
shahar1
as code owners
August 27, 2026 20:38
potiuk
approved these changes
Aug 27, 2026
Member
|
If it's green, I am all in |
httpx2httpx2
eladkal
reviewed
Aug 29, 2026
eladkal
reviewed
Aug 29, 2026
zach-overflow
force-pushed
the
zo/initial-httpx2-support
branch
from
August 31, 2026 13:51
9f5c64d to
54b074d
Compare
Contributor
|
Quickest fix: git fetch upstream main && git rebase upstream/main
rm uv.lock && uv lock
git add uv.lock && git rebase --continue
git push --force-with-leaseAutomated nudge — ignore if you're not ready to rebase. This comment is updated in place on future |
The `httpx` package is unmaintained and Airflow is moving to the `httpx2` fork, so providers already migrated must not drift back. The check exempts `airbyte`, `common/ai`, `weaviate` and `microsoft/azure`, whose third-party SDKs are still built on `httpx`. Their objects cross that boundary, and the two packages' classes are distinct, so switching those providers would break at runtime rather than fail loudly.
zach-overflow
force-pushed
the
zo/initial-httpx2-support
branch
from
September 8, 2026 14:25
54b074d to
7a6990a
Compare
Contributor
Author
|
cc @eladkal thanks for the review. If you have a moment, do you mind taking another look? |
potiuk
approved these changes
Sep 9, 2026
This was referenced Sep 10, 2026
imrichardwu
pushed a commit
to imrichardwu/airflow
that referenced
this pull request
Sep 11, 2026
…72111) * Migrate google + pagerduty providers to `httpx2` * Add a prek check that keeps providers on `httpx2` The `httpx` package is unmaintained and Airflow is moving to the `httpx2` fork, so providers already migrated must not drift back. The check exempts `airbyte`, `common/ai`, `weaviate` and `microsoft/azure`, whose third-party SDKs are still built on `httpx`. Their objects cross that boundary, and the two packages' classes are distinct, so switching those providers would break at runtime rather than fail loudly. * Address feedback on ast-grep pre-commit hook
1 task done
xvega
pushed a commit
to xvega/airflow
that referenced
this pull request
Sep 13, 2026
…72111) * Migrate google + pagerduty providers to `httpx2` * Add a prek check that keeps providers on `httpx2` The `httpx` package is unmaintained and Airflow is moving to the `httpx2` fork, so providers already migrated must not drift back. The check exempts `airbyte`, `common/ai`, `weaviate` and `microsoft/azure`, whose third-party SDKs are still built on `httpx`. Their objects cross that boundary, and the two packages' classes are distinct, so switching those providers would break at runtime rather than fail loudly. * Address feedback on ast-grep pre-commit hook
1 task done
1 task done
This was referenced Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Modifies these provider package' dependency on
httpx→httpx2:apache-airflow-providers-googleapache-airflow-providers-pagerdutyapache-airflow-providers-anthropicAdds comments on remaining providers which have
httpxreferences which cannot cleanly be removed until their deps are updated.Adds a pre-commit check to prevent re-introducing httpx in any additional provider packages. Runs via
ast-grepfor super fast import checks.Why?
httpxusage forhttpx2#70522Was generative AI tooling used to co-author this PR?
httpxusage, and claude did the per-file import replacementsast-grep+ verified in IDE).