Add support for HTTPX2

Open
#1,886 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
api

Research direction

No files or tests are named in the issue. Start by locating the async HTTP support and its httpx dependency in the repository, then review existing tests for that integration. Done means the SDK supports the maintained httpx2 library or documents the migration path without breaking current async behavior.

Written by the indexing model from the issue text.

Description

feature-request future
Is your feature request related to a problem? Please describe.

This project's async support currently depends on httpx, which is no longer maintained. Given that situation, it should be migrated away or at the very least add support for a maintained http library. One such option is httpx2 (https://github.com/pydantic/httpx2), which seems to be the accepted community fork of httpx, specially given it's maintained by pydantic. This is even more true, as the author of httpxyz (a previous fork) blessed this new package.

Note that Sentry, already added support for this package in https://github.com/getsentry/sentry-python/issues/6448.

And open telemetry also supports it.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Dominant language
Python
Stars
2k
Forks
539
Avg merge
2d 7h
Merged PRs (30d)
26

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stripe/stripe-python

All issues in stripe/stripe-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.