Skip to content

Swap deprecated httpx dev-dep for httpx2 (closes #12) - #21

Merged
abhay-codes07 merged 1 commit into
mainfrom
chore/httpx2-testclient
Jul 12, 2026
Merged

Swap deprecated httpx dev-dep for httpx2 (closes #12)#21
abhay-codes07 merged 1 commit into
mainfrom
chore/httpx2-testclient

Conversation

@abhay-codes07

Copy link
Copy Markdown
Owner

Closes #12.

Every uv run pytest emitted the suite's only warning: StarletteDeprecationWarning: Using httpx with starlette.testclient is deprecated; install httpx2 instead. httpx is a dev-only dependency and FastAPI's TestClient is its sole consumer (zero import httpx anywhere in product/test code).

Change

Swap the dev-dep httpx>=0.27httpx2>=2.5 (the maintained httpx successor Starlette now prefers) + uv sync. No product code touched.

Verification

Full suite: 528 passed, 0 warnings (was 528 passed, 1 warning). mypy + ruff clean. This also unblocks ever adding -W error to CI.

…st warning)

Every pytest run emitted the sole suite warning: StarletteDeprecationWarning
'Using httpx with starlette.testclient is deprecated; install httpx2 instead'.
httpx is a dev-only dependency and TestClient is its only consumer (zero
'import httpx' in product/test code), so swapping the dev-dep to httpx2 (the
maintained httpx successor Starlette now prefers) removes the warning with no
product change. Full suite: 528 passed, 0 warnings (was 1). Closes #12.
Copilot AI review requested due to automatic review settings July 12, 2026 18:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

🛫 Volo reliability — ❌ NO-SHIP

Replayed 7 adversarial scenarios against the agent (threshold ≥ 0.90).

Metric Score
Trajectory determinism 1.000
Decision determinism 1.000
Faithfulness 0.000
Consistency under repetition 1.000

Cost — replayed deterministically at $0 (no live API calls).

baseline 1783879617006-cbc9d943-a4e5-4f3f-a826-6926eecc7273 • generated by Volo

@abhay-codes07
abhay-codes07 merged commit feddb8b into main Jul 12, 2026
3 of 4 checks passed
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.

Replace deprecated httpx dev-dep with httpx2 (removes the only test-suite warning)

2 participants