Skip to content

Consider replacing httpx with httpx2 #5258

@BjoernPetersen

Description

@BjoernPetersen

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

This package builds on top of httpx, and httpx has been unmaintained for a while now (no release since 2024).

Describe the solution you'd like

There is a fork of httpx under the pydantic umbrella that should be a drop-in replacement: https://github.com/pydantic/httpx2

Of course the package name is different, so a one-time search and replace migration would be necessary.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions