Skip to content

chore: Require httpx2 2.17.0 or later - #218

Merged
slatecipher merged 1 commit into
mainlinefrom
chore/require-httpx2-2.17
Dec 6, 2026
Merged

slatecipher merged 1 commit into
mainlinefrom
chore/require-httpx2-2.17

Conversation

@slatecipher

Copy link
Copy Markdown
Owner

What changed

Why

httpx2 2.17.0 fixes two problems that affect ClientX's async streamed endpoints:

Requests also use less CPU. Users on older httpx2 versions wouldn't get any of this.

Because of the Changed section, make release-pr will make the next release a minor version.

Testing

  • make check: lint, type check, and 403 tests pass.
  • uv run --resolution lowest-direct --isolated pytest: 403 tests pass on the lowest versions allowed.

🤖 Generated with Claude Code

- Raise the httpx2 minimum in pyproject.toml from 2.10.0 to 2.17.0, and
  relock.
- 2.17.0 stops async streamed responses from raising RuntimeError when
  they're closed at shutdown or by the garbage collector, and lets a
  cancelled aclose() be retried, so ClientX's streamed endpoints always
  close their response.
- Add a Changed entry to CHANGELOG.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slatecipher slatecipher added the maintenance Tooling, configuration, and other upkeep label Dec 6, 2026
@slatecipher slatecipher self-assigned this Dec 6, 2026
@slatecipher
slatecipher merged commit 151d947 into mainline Dec 6, 2026
8 checks passed
@slatecipher
slatecipher deleted the chore/require-httpx2-2.17 branch December 6, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Tooling, configuration, and other upkeep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant