Skip to content

Fix TestClient compatibility with httpx#364

Open
Dharshin1 wants to merge 4 commits into
imDarshanGK:mainfrom
Dharshin1:fix/httpx-testclient-compatibility
Open

Fix TestClient compatibility with httpx#364
Dharshin1 wants to merge 4 commits into
imDarshanGK:mainfrom
Dharshin1:fix/httpx-testclient-compatibility

Conversation

@Dharshin1
Copy link
Copy Markdown

@Dharshin1 Dharshin1 commented May 26, 2026

Summary

Fixes failing backend tests caused by incompatibility between Starlette TestClient and httpx 0.28+.

Changes

Fixes : #61

  • Pinned httpx to 0.27.2
  • Restores compatibility with FastAPI/Starlette test client
  • Backend tests now pass successfully

Root Cause

httpx 0.28+ removed support for the app= parameter used internally by Starlette's TestClient, causing test collection failures.

Result

All backend tests pass locally.

@Dharshin1 Dharshin1 requested a review from imDarshanGK as a code owner May 26, 2026 15:06
@imDarshanGK
Copy link
Copy Markdown
Owner

@Dharshin1 Please update your branch with the latest main changes, currently no files/changes are showing in this PR.
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants