[ARVADOS] updated: 1.1.3-153-ge8a18e3

Git user git at public.curoverse.com
Thu Mar 8 13:32:26 EST 2018


Summary of changes:
 build/run-tests.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

       via  e8a18e3ebbcaf24812673f67e14edac7f8c28e41 (commit)
      from  4ad88f00a73da6b4cbe11e2bde8d7a055ba6b60e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e8a18e3ebbcaf24812673f67e14edac7f8c28e41
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date:   Thu Mar 8 13:32:07 2018 -0500

    When running inside a virtualenv, pip still uses the ~/.cache/pip cache
    directory, unless it is explicitly overridden with XDG_CACHE_HOME.
    
    In the test script, stop using pip's cache directory altogether (part 2).
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 9081d99..b89c8d9 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -492,12 +492,12 @@ setup_virtualenv() {
     fi
     if [[ $("$venvdest/bin/python" --version 2>&1) =~ \ 3\.[012]\. ]]; then
         # pip 8.0.0 dropped support for python 3.2, e.g., debian wheezy
-        "$venvdest/bin/pip" install 'setuptools>=18.5' 'pip>=7,<8'
+        "$venvdest/bin/pip" install --no-cache-dir 'setuptools>=18.5' 'pip>=7,<8'
     else
-        "$venvdest/bin/pip" install 'setuptools>=18.5' 'pip>=7'
+        "$venvdest/bin/pip" install --no-cache-dir 'setuptools>=18.5' 'pip>=7'
     fi
     # ubuntu1404 can't seem to install mock via tests_require, but it can do this.
-    "$venvdest/bin/pip" install 'mock>=1.0' 'pbr<1.7.0'
+    "$venvdest/bin/pip" install --no-cache-dir 'mock>=1.0' 'pbr<1.7.0'
 }
 
 export PERLINSTALLBASE
@@ -751,8 +751,8 @@ do_install_once() {
         cd "$WORKSPACE/$1" \
             && "${3}python" setup.py sdist rotate --keep=1 --match .tar.gz \
             && cd "$WORKSPACE" \
-            && "${3}pip" install --quiet "$WORKSPACE/$1/dist"/*.tar.gz \
-            && "${3}pip" install --quiet --no-deps --ignore-installed "$WORKSPACE/$1/dist"/*.tar.gz
+            && "${3}pip" install --no-cache-dir --quiet "$WORKSPACE/$1/dist"/*.tar.gz \
+            && "${3}pip" install --no-cache-dir --quiet --no-deps --ignore-installed "$WORKSPACE/$1/dist"/*.tar.gz
     elif [[ "$2" != "" ]]
     then
         "install_$2"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list