kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject kudu git commit: python: copy pandas dependency into requirements.txt
Date Wed, 08 Aug 2018 04:22:23 GMT
Repository: kudu
Updated Branches:
  refs/heads/master d62cde400 -> cf662826b


python: copy pandas dependency into requirements.txt

This preserves the invariant introduced by commit c93f08393 that if you run
'pip install -r requirements.txt', there won't be any additional downloads
when 'python setup.py test' is run later. The invariant was briefly broken
by commit 997ad765f.

Change-Id: Iadb42535956461fbcb41adc67f5e4c73c310463d
Reviewed-on: http://gerrit.cloudera.org:8080/11146
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <awong@cloudera.com>


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

Branch: refs/heads/master
Commit: cf662826ba8b735f93bd1d855216e4037e8ccd0c
Parents: d62cde4
Author: Adar Dembo <adar@cloudera.com>
Authored: Tue Aug 7 11:00:21 2018 -0700
Committer: Adar Dembo <adar@cloudera.com>
Committed: Wed Aug 8 04:21:06 2018 +0000

----------------------------------------------------------------------
 python/requirements.txt | 2 ++
 python/setup.py         | 4 ++++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/cf662826/python/requirements.txt
----------------------------------------------------------------------
diff --git a/python/requirements.txt b/python/requirements.txt
index 5b6cbc1..1107826 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -8,6 +8,8 @@ pytest >=2.8,<3.3
 # See https://pypi.org/project/pytest-timeout/#id5 for more details.
 pytest-timeout >=1.1.0,<1.2.1
 
+pandas <0.21
+
 cython ==0.26.1
 six
 unittest2

http://git-wip-us.apache.org/repos/asf/kudu/blob/cf662826/python/setup.py
----------------------------------------------------------------------
diff --git a/python/setup.py b/python/setup.py
index 44a1b54..30e9d32 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -190,6 +190,10 @@ setup(
     },
     setup_requires=['pytest-runner'],
 
+    # Note: dependencies in tests_require should also be listed in
+    # requirements.txt so that dependencies aren't downloaded at test-time
+    # (when it's more difficult to override various pip installation options).
+    #
     # pytest 3.3 and pytest-timeout 1.2.1 dropped support for python 2.6.
     #
     # See https://docs.pytest.org/en/latest/changelog.html#id164 and


Mime
View raw message