You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2017/09/15 06:51:39 UTC

incubator-livy git commit: [MINOR] Update Travis Python Requests version to fix build error

Repository: incubator-livy
Updated Branches:
  refs/heads/master 05bfa15ef -> 52c89a9c4


[MINOR] Update Travis Python Requests version to fix build error

The issue is from #39 , seems like `requests` version doesn't meet, so here update `requests` version to fix it.

Author: jerryshao <ss...@hortonworks.com>

Closes #46 from jerryshao/travis-python-fix.

Change-Id: Id4713eaa3d72a68c776181542b0f9506924b6578


Project: http://git-wip-us.apache.org/repos/asf/incubator-livy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-livy/commit/52c89a9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-livy/tree/52c89a9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-livy/diff/52c89a9c

Branch: refs/heads/master
Commit: 52c89a9c4a8d2d58bf51ecd9b0e049191ed7a0b6
Parents: 05bfa15
Author: jerryshao <ss...@hortonworks.com>
Authored: Fri Sep 15 14:51:26 2017 +0800
Committer: jerryshao <ss...@hortonworks.com>
Committed: Fri Sep 15 14:51:26 2017 +0800

----------------------------------------------------------------------
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-livy/blob/52c89a9c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f935c35..8de73e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -57,17 +57,17 @@ before_install:
   - sudo apt-get -y install python3-pip python-dev
   - sudo apt-get -y install libkrb5-dev
   - sudo apt-get -y remove python-setuptools
-  - pip install --user --upgrade pip "setuptools < 36"
+  - pip2 install --user --upgrade pip "setuptools < 36"
   - pip3 install --user --upgrade pip "setuptools < 36"
-  - pip install --user codecov cloudpickle
+  - pip2 install --user codecov cloudpickle
   - pip3 install --user cloudpickle
 
 install:
   - mvn $MVN_FLAG install -Dskip -DskipTests -DskipITs -Dmaven.javadoc.skip=true -B -V
 
 before_script:
-  - pip install --user requests pytest flaky flake8 requests-kerberos
-  - pip3 install --user requests pytest flaky requests-kerberos
+  - pip2 install --user "requests >= 2.10.0" pytest flaky flake8 requests-kerberos
+  - pip3 install --user "requests >= 2.10.0" pytest flaky requests-kerberos
 
 script:
   - mvn $MVN_FLAG verify -e