You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by se...@apache.org on 2017/12/09 13:03:05 UTC

aurora git commit: Update Python deps incl requests and pex

Repository: aurora
Updated Branches:
  refs/heads/master 4f0299b2a -> 47c689956


Update Python deps incl requests and pex

* Update requests to 2.18.4. The major visible change is that requests
  has un-vendored its dependencies in 2.16.0.
  Details: https://github.com/requests/requests/blob/master/HISTORY.rst

* The usage of a newer urllib3 within requests adds support for
  ipAddress subject alternative name fields in TLS certificates.
  This is relevant in some Aurora scheduler deployments.

* Pex update with various improvements and fixes. The most important
  feature appears to be first-class support for multi-interpreter
  and multi-platform pex construction.
  Details: https://github.com/pantsbuild/pex/blob/master/CHANGES.rst

* Update to latest twitter commons. There are no Aurora related
  fixes in there, but updating does no harm.
  Details: https://github.com/twitter/commons/commits/master

* Regular virtualenv update to the latest version.
  Details: https://virtualenv.pypa.io/en/latest/changes/

Reviewed at https://reviews.apache.org/r/64382/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/47c68995
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/47c68995
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/47c68995

Branch: refs/heads/master
Commit: 47c689956f77ed635d26f7ec659689002bd047af
Parents: 4f0299b
Author: Stephan Erb <se...@apache.org>
Authored: Sat Dec 9 14:02:46 2017 +0100
Committer: Stephan Erb <se...@apache.org>
Committed: Sat Dec 9 14:02:46 2017 +0100

----------------------------------------------------------------------
 3rdparty/python/requirements.txt           | 48 +++++++++++++------------
 build-support/virtualenv                   |  2 +-
 src/main/python/apache/aurora/client/BUILD |  4 +++
 src/main/python/apache/aurora/common/BUILD |  4 +++
 4 files changed, 35 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/47c68995/3rdparty/python/requirements.txt
----------------------------------------------------------------------
diff --git a/3rdparty/python/requirements.txt b/3rdparty/python/requirements.txt
index 155930d..85a23d7 100644
--- a/3rdparty/python/requirements.txt
+++ b/3rdparty/python/requirements.txt
@@ -14,35 +14,39 @@
 # NB: mesos requirements are defined in our sibling BUILD file.
 
 bottle==0.11.6
+certifi==2017.11.5
+chardet==3.0.4
 CherryPy==8.0.0
 enum34==1.1.6
+idna==2.6
 mako==1.0.4
 mock==1.0.1
 mox==0.5.3
-pex==1.1.14
+pex==1.2.15
 protobuf==3.3.0
 psutil==5.2.0
 pystachio==0.8.3
-requests==2.11.1
-requests-kerberos==0.10.0
-requests-mock==1.1.0
+requests==2.18.4
+requests-kerberos==0.11.0
+requests-mock==1.3.0
 subprocess32==3.2.7
 thrift==0.9.1
-twitter.common.app==0.3.7
-twitter.common.collections==0.3.7
-twitter.common.concurrent==0.3.7
-twitter.common.contextutil==0.3.7
-twitter.common.decorators==0.3.7
-twitter.common.dirutil==0.3.7
-twitter.common.exceptions==0.3.7
-twitter.common.http==0.3.7
-twitter.common.lang==0.3.7
-twitter.common.log==0.3.7
-twitter.common.metrics==0.3.7
-twitter.common.options==0.3.7
-twitter.common.process==0.3.7
-twitter.common.quantity==0.3.7
-twitter.common.recordio==0.3.7
-twitter.common.string==0.3.7
-twitter.common.testing==0.3.7
-twitter.common.zookeeper==0.3.7
+twitter.common.app==0.3.9
+twitter.common.collections==0.3.9
+twitter.common.concurrent==0.3.9
+twitter.common.contextutil==0.3.9
+twitter.common.decorators==0.3.9
+twitter.common.dirutil==0.3.9
+twitter.common.exceptions==0.3.9
+twitter.common.http==0.3.9
+twitter.common.lang==0.3.9
+twitter.common.log==0.3.9
+twitter.common.metrics==0.3.9
+twitter.common.options==0.3.9
+twitter.common.process==0.3.9
+twitter.common.quantity==0.3.9
+twitter.common.recordio==0.3.9
+twitter.common.string==0.3.9
+twitter.common.testing==0.3.9
+twitter.common.zookeeper==0.3.9
+urllib3==1.22

http://git-wip-us.apache.org/repos/asf/aurora/blob/47c68995/build-support/virtualenv
----------------------------------------------------------------------
diff --git a/build-support/virtualenv b/build-support/virtualenv
index 0542a66..d6484f5 100755
--- a/build-support/virtualenv
+++ b/build-support/virtualenv
@@ -14,7 +14,7 @@
 #
 # Wrapper for self-bootstrapping virtualenv
 set -ex
-VIRTUALENV_VERSION=15.0.2
+VIRTUALENV_VERSION=15.1.0
 
 if which python2.7 >/dev/null; then
   PY=`which python2.7`

http://git-wip-us.apache.org/repos/asf/aurora/blob/47c68995/src/main/python/apache/aurora/client/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/BUILD b/src/main/python/apache/aurora/client/BUILD
index 1411765..9bd2554 100644
--- a/src/main/python/apache/aurora/client/BUILD
+++ b/src/main/python/apache/aurora/client/BUILD
@@ -18,6 +18,9 @@ python_library(
   name = '_client',
   sources = rglobs('*.py'),
   dependencies = [
+    '3rdparty/python:certifi',
+    '3rdparty/python:chardet',
+    '3rdparty/python:idna',
     '3rdparty/python:pex',
     '3rdparty/python:pystachio',
     '3rdparty/python:requests',
@@ -27,6 +30,7 @@ python_library(
     '3rdparty/python:twitter.common.log',
     '3rdparty/python:twitter.common.quantity',
     '3rdparty/python:twitter.common.zookeeper',
+    '3rdparty/python:urllib3',
     'api/src/main/thrift/org/apache/aurora/gen',
     'src/main/python/apache/aurora/common',
     'src/main/python/apache/aurora/client/cli:auroraversion',

http://git-wip-us.apache.org/repos/asf/aurora/blob/47c68995/src/main/python/apache/aurora/common/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/common/BUILD b/src/main/python/apache/aurora/common/BUILD
index 0e4c510..2e6c5b3 100644
--- a/src/main/python/apache/aurora/common/BUILD
+++ b/src/main/python/apache/aurora/common/BUILD
@@ -18,6 +18,9 @@ python_library(
   name = 'common',
   sources = rglobs('*.py'),
   dependencies = [
+    '3rdparty/python:certifi',
+    '3rdparty/python:chardet',
+    '3rdparty/python:idna',
     '3rdparty/python:pex',
     '3rdparty/python:pystachio',
     '3rdparty/python:requests',
@@ -26,6 +29,7 @@ python_library(
     '3rdparty/python:twitter.common.collections',
     '3rdparty/python:twitter.common.lang',
     '3rdparty/python:twitter.common.log',
+    '3rdparty/python:urllib3',
     'api/src/main/thrift/org/apache/aurora/gen',
   ],
   provides = setup_py(