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

2852/refactor/replace urllib with requests in utils httpserver #4407

Conversation

dherbst
Copy link
Contributor

@dherbst dherbst commented Jan 12, 2021

Addresses #2852

Refactor to remove openlibrary/utils/httpserver.py because it is no longer used.

Technical

There was a doctest in there, which was being ignored, and did not work either before or after refactoring. I could not find anything in the repo which references the file, so I think this can be deleted. I think it was replaced with web.httpserver a few years ago.

Testing

Unit tests run.

Screenshot

N/A

Stakeholders

@cclauss

@cclauss cclauss requested a review from cdrini January 12, 2021 17:40
@cclauss cclauss added the Python label Jan 12, 2021
@cclauss cclauss added this to the Active Sprint milestone Jan 12, 2021
@cclauss cclauss assigned cclauss and unassigned cdrini Jan 15, 2021
@cclauss cclauss requested review from cclauss and removed request for cdrini January 15, 2021 00:19
Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cclauss cclauss merged commit fb946f1 into internetarchive:master Jan 15, 2021
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 5, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 5, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 5, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 5, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 5, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 15, 2021
…netarchive#4407)

* Replaced urllib with requests

* Delete openlibrary.utils.httpserver because it is no longer used.

* Upgrade to Python 3.9.1

* Upgrade to Python 3.9.1

Co-authored-by: Christian Clauss <[email protected]>
@mekarpeles mekarpeles added python Pull requests that update Python code and removed Module: Python labels Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants