Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUBMARINE-922. Migrate to the next version of Python requests when re…
…leased ### What is this PR for? <!-- A few sentences describing the overall goals of the pull request's commits. First time? Check out the contributing guide - https://submarine.apache.org/contribution/contributions.html --> Install latest `request` in the pysubmarine. See Github issue: apache#661 Our python code uses requests library which has transitive dependency on a GPL lib chardet. We're not supposed to make an ASF release knowing there's a GPL transitive dependency so this is a blocker for our 0.6.0 release. Quickly checked the code, we have two places that use the library. We could wait for the new requests or perhaps remove the usage. ``` find . -name "*.py" | xargs grep "import requests" ./submarine-sdk/pysubmarine/submarine/utils/rest_utils.py:import requests ./submarine-sdk/pysubmarine/build/lib/submarine/utils/rest_utils.py:import requests ``` ### What type of PR is it? [Hot Fix] ### Todos No ### What is the Jira issue? <!-- * Open an issue on Jira https://issues.apache.org/jira/browse/SUBMARINE/ * Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg. `SUBMARINE-23. PR title` --> https://issues.apache.org/jira/browse/SUBMARINE-922 ### How should this be tested? <!-- * First time? Setup Travis CI as described on https://submarine.apache.org/contribution/contributions.html#continuous-integration * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. --> Pass the CIs ### Screenshots (if appropriate) ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No Author: Kevin Su <[email protected]> Signed-off-by: Kevin <[email protected]> Closes apache#722 from pingsutw/SUBMARINE-922 and squashes the following commits: af04a0f [Kevin Su] Update setup.py
- Loading branch information