Skip to content

ci: Add httpx dependency to tests relying on get_model_response() - #7235

Merged
alexander-alderman-webb merged 4 commits into
masterfrom
webb/anthropic/add-httpx
Aug 24, 2026
Merged

ci: Add httpx dependency to tests relying on get_model_response()#7235
alexander-alderman-webb merged 4 commits into
masterfrom
webb/anthropic/add-httpx

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

Packages including anthropic started upgrading to httpx2.
Add an explicit dependency to config.py when the test suite relies on fixtures that import httpx.

Issues

Reminders

Comment thread scripts/populate_tox/releases.jsonl Outdated
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

113725 passed | ⏭️ 6732 skipped | Total: 120457 | Pass Rate: 94.41% | Execution Time: 413m 28s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +1371
Passed Tests 📈 +1374
Failed Tests 📉 -3
Skipped Tests

➖ Removed Tests (2)

View removed tests
  • test_binary_content_encoding_mixed_content[False-False]
    • File: tests.integrations.litellm.test_litellm
  • test_cache_spans_decorator[True]
    • File: tests.integrations.django.test_cache_module

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2488 uncovered lines.
✅ Project coverage is 90.22%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.22%    90.22%        —%
==========================================
  Files          193       193         —
  Lines        25433     25433         —
  Branches      9346      9346         —
==========================================
+ Hits         22945     22945         —
- Misses        2488      2488         —
- Partials      1437      1437         —

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title ci(anthropic): Add httpx test dependency ci: Add httpx test dependency to suites relying on get_model_response() Aug 24, 2026
Comment thread scripts/populate_tox/config.py
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review August 24, 2026 12:54
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner August 24, 2026 12:54
@alexander-alderman-webb alexander-alderman-webb changed the title ci: Add httpx test dependency to suites relying on get_model_response() ci: Add httpx test dependency to tests relying on get_model_response() Aug 24, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title ci: Add httpx test dependency to tests relying on get_model_response() ci: Add httpx dependency to tests relying on get_model_response() Aug 24, 2026
@alexander-alderman-webb
alexander-alderman-webb merged commit 8a65ab4 into master Aug 24, 2026
396 of 400 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/anthropic/add-httpx branch August 24, 2026 13:22
sentrivana pushed a commit that referenced this pull request Aug 25, 2026
…#7235)

Add an explicit dependency when a test suite relies on the `get_model_response` fixture that uses `httpx` types.

Packages including `anthropic` started upgrading to `httpx2`.
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