Skip to content

Removes requests dependency and migrates fully to httpx#76

Open
mhajder wants to merge 1 commit intonetboxlabs:mainfrom
mhajder:refactor/httpx
Open

Removes requests dependency and migrates fully to httpx#76
mhajder wants to merge 1 commit intonetboxlabs:mainfrom
mhajder:refactor/httpx

Conversation

@mhajder
Copy link
Contributor

@mhajder mhajder commented Feb 20, 2026

Why

  • Simplifies HTTP client code by consolidating on a single library
  • Reduces dependency footprint and potential maintenance overhead
  • Aligns with modern async-friendly HTTP client practices

What

  • Eliminates all references to requests from source code, configuration, and tests
  • Updates exception handling and mocks to use httpx types
  • Removes requests from project dependencies and lock files

Benefits

  • Consistency: Ensures all HTTP interactions use httpx, reducing confusion and duplication
  • Modernization: Leverages httpx’s features, including async support and improved performance
  • Maintenance: Streamlines dependency management and reduces risk from legacy libraries

Simplifies HTTP client usage by fully transitioning to httpx,
eliminating requests from dependencies, code, and tests.
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