You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2016/12/22 16:08:44 UTC

mesos git commit: Fixed Python dependency pinning.

Repository: mesos
Updated Branches:
  refs/heads/master 439aedf7c -> 534713649


Fixed Python dependency pinning.

Without PACKAGE_VERSION specified, pypi may install more recent
Python libraries if they heppen to exist.

Signed-off-by: Chengwei Yang <ya...@qiyi.com>

This closes #192


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

Branch: refs/heads/master
Commit: 534713649b88a5a0d35953b1feaf8c7457d7044c
Parents: 439aedf
Author: Chengwei Yang <ya...@qiyi.com>
Authored: Thu Dec 22 17:06:10 2016 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 22 17:06:10 2016 +0100

----------------------------------------------------------------------
 src/python/setup.py.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/53471364/src/python/setup.py.in
----------------------------------------------------------------------
diff --git a/src/python/setup.py.in b/src/python/setup.py.in
index 37a49a5..991ac31 100644
--- a/src/python/setup.py.in
+++ b/src/python/setup.py.in
@@ -26,8 +26,8 @@ config = {
     'packages': [ 'mesos' ],
     'package_dir': { '': 'src' },
     'install_requires': [
-        'mesos.interface',
-        'mesos.native'
+        'mesos.interface == @PACKAGE_VERSION@',
+        'mesos.native == @PACKAGE_VERSION@'
     ],
     'license': 'Apache 2.0',
     'keywords': 'mesos',