-
Notifications
You must be signed in to change notification settings - Fork 14
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
Lower requirement for urllib #452
Comments
@baywet maybe we can do this for version 1.8.0 as well? |
Hi @svrooij Somehow I missed the notification for this one. The design choice here for http/2 is to add it systematically so clients "automatically" upgrade to http/2 when available without developers having to do anything. Is that causing an issue on your end? (besides heavier deployments) As for urllib, I believe a range should work here (granted that the CI is happy with the change). It's probably on a fixed version because of dependabot updates to begin with. Are you getting version resolution conflicts?
Versions are cheap thanks to automation, I'd rather have that as another patch as it'll provide more stop gaps to consumers in case something is wrong. |
According to the version history of urllib3 version Because there were some issues with version I would suggest to set the urllib3 dependency to |
Thank you for the additional information. I think there's a serious mixing issue here. If you search for "urllib" you'll get about a dozen results, but this is misleading since the vast majority of them come from the BCL parse utils Searching for urllib3 instead only returns two results: the toml entry and the place where we set up the minimum TLS version for the client. This looks highly suspicious to me: using types from one HTTP client lib to setup properties on another lib. I think somebody got mixed up here. My suggestion is to:
more context:
@andrueastman I'd like your input on this one please. |
Are the dependency requirements set in stone? Or can we lower
urllib
andhttpx
to something that works with these package constrains?kiota-python/packages/http/httpx/pyproject.toml
Lines 31 to 32 in dbda749
urllib has a requirement of
^2.2.2
and I was wondering if we could adjust it to something that works with the following package constrainurllib3>=1.26.5,<2
for httpx, it seems the
http2
extras are not referenced directly, so maybe the references can be changed tohttpx>=0.28.0
and provide an extra if you want to talk to http2 servers? Like thisReason is, I've built this library for the Volvo Connected Vehicle api svrooij/py_volvo_connected that I want to use it in Home Assistant which has this package contrains
Without lowering the requirement (and #448), I would not be able to use kiota for this project and would be forced to go look for something else.
The text was updated successfully, but these errors were encountered: