Skip to content

build: migrate to httpx2 and fix pre-publish metadata - #17

Merged
mehmetkr merged 1 commit into
mainfrom
pre-publish-fixes
Nov 30, 2026
Merged

mehmetkr merged 1 commit into
mainfrom
pre-publish-fixes

Conversation

@mehmetkr

Copy link
Copy Markdown
Owner

Summary

  • Migrate HTTP client from httpx to httpx2 (matches anthropic-sdk-python and openai-python)
  • Add dependency upper bounds: httpx2>=2.0.0,<3, pydantic>=2.7.0,<3
  • Remove _ApiModel from public types.__all__ (internal base class)
  • Add tests/_alias_httpx.py pytest plugin to bridge respx mocking to httpx2
  • Update README Requirements section and GitHub topics
  • Exclude .gitignore/.gitattributes from sdist

Test plan

  • 101 tests pass
  • pyright strict: 0 errors
  • mypy strict: 0 errors
  • ruff: clean
  • Package builds and wheel metadata shows httpx2<3,>=2.0.0

@mehmetkr
mehmetkr merged commit 61d5a0d into main Nov 30, 2026
7 checks passed
@mehmetkr
mehmetkr deleted the pre-publish-fixes branch November 30, 2026 08:36
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.

1 participant