-
Notifications
You must be signed in to change notification settings - Fork 138
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
Update Requests library to latest #2704
Comments
From the PyPi page: https://pypi.org/project/requests/ we look to no longer require a pinning, and given our dependency on django-oauth-toolkit has in-turn a dependency on this library, we are guaranteed to have it pulled in. |
Removing our existing pinning results in:
|
We import requests in the following files:
|
Re:
It seems that as part of the defualt header we already have this on the request side at least:
Which is no different from what we were already advertising in the prior release:
Modifying original issue text accordingly. |
Re:
It appears we already have, and use, this facility where we allow 10 seconds for each Rock-on file retrieval already.
and
Modify original issue text accordingly. |
Remove our prior pinning for 'requests' as no longer required. ## Includes: - Adding 10 second timeout on update repo status check, to avoid indefinite hang potential. - Re Black formatting on changed pkg_mgmt.py file.
…to-latest Update Requests library to latest #2704
Closing as: |
Our prior pinned version of 'requests' can now be re-addressed re testing branch development concerning our base Python version, i.e. we now use Py3.9:
Re-examine our options on updating this pinning or remove our pinning all-together.
Note that there may well be additional parameters expected such as timeout etc. These should be addressed as part of this issue also.[EDIT] see below issue comment: #2704 (comment)A potential enhancement of this update could be to enable server side compression compatibility that it is thought was introduced in an interim version of 'requests' post what were have pinned currently. This could help with the performance of such things as our Rock-on update mechanism.[EDIT] see below issue comment: #2704 (comment)The text was updated successfully, but these errors were encountered: