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

[python-sdk] Remove requests dependency #198

Conversation

gbolmier
Copy link
Contributor

What type of PR is this?

/kind bug
/kind dependency

What this PR does / why we need it:

It replaces requests dependency with urllib.request from the python standard library in git_release.py (called by setup.py) in the python sdk. We need to get rid of the requests dependency to fix the setup.py bug that calls the requests package before installing it.

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):

Fixes #195

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@gbolmier
Copy link
Contributor Author

Tested both locally and from the branch:

pip install git+https://git@github.com/gbolmier/ormb.git@hotfix/python-sdk/remove-requests-dependency#subdirectory=extern-sdk/python

works as a charm on my side 🚀

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

/lgtm

@gaocegege gaocegege merged commit 7907828 into kleveross:master Dec 30, 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.

ORMB python sdk setup.py imports requests before installing it
2 participants