Replace httpx with httpx2 #100
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/feed2fedi#100
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
httpx 0.28.1 (November 2024) appears unmaintained. httpx2 (Pydantic team, 2.3.0) is actively maintained and already a transitive dependency via longwei and bump-my-version.
The API surface feed2fedi uses is identical in both — a drop-in replacement. Making it a direct dependency removes httpx + httpcore from the tree entirely.
Plan of attack:
"httpx[http2]~=0.28.1"with"httpx2[http2]~=2.3.0"in pyproject.toml, drop now-unnecessary deptry ignores (h11, h2) and constraint (h2).from httpx import ...withfrom httpx2 import ...in app.py, collect.py, publish.py._QUIET_LOGGERSin logging_config.py (drop httpx, update httpcore → httpcore2).Branch:
feat/issue-100-httpx-to-httpx2