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

use requests instead of stdlib #3658

Closed

Conversation

aasifkhan7
Copy link
Contributor

Closes #2852

@cclauss used requests instead of urllib as well as removed imports of simplejson whereever possible in multiple files.

@cdrini cdrini requested a review from cclauss August 4, 2020 16:38
@cdrini cdrini self-assigned this Aug 4, 2020
@cclauss
Copy link
Collaborator

cclauss commented Aug 6, 2020

Please move the changes to openlibrary/catalog/utils/query.py to a separate PR.

  • The withKey() function is retrying until it times out (20 times) on OL bootup in Docker.

When I revert the changes to query.py and then run OL dev on Docker, the system boots and seems highly functional!!! More testing ahead...

@aasifkhan7
Copy link
Contributor Author

aasifkhan7 commented Aug 6, 2020

@cclauss reverted the changes in in query.py and opened a new PR #3666

@cclauss
Copy link
Collaborator

cclauss commented Sep 28, 2020

@aasifkhan7 Can you please rebase this PR?

Can you please put the changes for the file openlibrary/core/lending.py into a separate PR?

@mekarpeles mekarpeles assigned cclauss and unassigned mekarpeles Oct 19, 2020
@cclauss
Copy link
Collaborator

cclauss commented Nov 10, 2020

@aasifkhan7 Can you please move the changes to openlibrary/plugins/ol_infobase.py into a separate pull request?

@aasifkhan7
Copy link
Contributor Author

@cclauss Yes sure. I will do that soon.

@cclauss
Copy link
Collaborator

cclauss commented Jan 18, 2021

Too many conflicts.

@cclauss cclauss closed this Jan 18, 2021
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.

Replace all urllib / urllib2 imports and uses with requests
4 participants