Skip to content

TestClient DeprecationWarning with httpx 0.27.0 #2524

Description

@b-phi

httpx has deprecated the app parameter for their Client class in 0.27.0. The starlette TestClient should likely be updated to use only the transport parameter of the httpx Client https://github.com/encode/starlette/blob/master/starlette/testclient.py#L456

Important

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions