Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate switching to urllib3 #2751

Open
jku opened this issue Dec 11, 2024 · 0 comments · May be fixed by #2762
Open

Investigate switching to urllib3 #2751

jku opened this issue Dec 11, 2024 · 0 comments · May be fixed by #2762

Comments

@jku
Copy link
Member

jku commented Dec 11, 2024

We currently use requests in the default ngclient fetcher (RequestsFetcher).

Internally requests uses urllib3 and we don't seem to use any functionality outside of what urllib3 provides: connection pool management and streaming are supported. Switching to urllib3 would mean:

  • we would have (at least) one less dependency
  • the API we would use is arguably better maintained

This could be achieved by first writing an alternative FetcherInterface implementation that uses urllib3: if it looks good we can then make it the default and remove the requests-based implementation.

@NicholasTanz NicholasTanz linked a pull request Jan 6, 2025 that will close this issue
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 a pull request may close this issue.

1 participant