Skip to content

Remove dependency on requests#271

Open
tristan-jl wants to merge 1 commit intoopenai:mainfrom
tristan-jl:main
Open

Remove dependency on requests#271
tristan-jl wants to merge 1 commit intoopenai:mainfrom
tristan-jl:main

Conversation

@tristan-jl
Copy link

This PR swaps requests for Python's built-in urllib.request library, reducing the library size a decent amount.

Would you consider a PR doing something like this? Happy to make alterations.

@tristan-jl
Copy link
Author

tristan-jl commented Feb 18, 2025

Fixed merge conflicts

@viperML
Copy link

viperML commented Nov 26, 2025

I can't even believe that we have version constrain on requests just for those 3 lines...

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.

3 participants