From 0b8f0283aacbb12b7f9ab4f9f016be781bd087a6 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Sat, 21 Apr 2018 09:35:03 -0400 Subject: [PATCH] [CI] Don't use a cache directory for pip installations pip2 and pip3 used the same cache directory, resulting in a cache invalidation warning because the Python 2 version of a package is not compatible with Python 3. Using --no-cache-dir is recommended in pypa/pip#5250 --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 856979405..d9bb75212 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,14 +1,14 @@ version: 1.0.{build} install: - ps: | - C:\Python27-x64\python.exe -m pip install --upgrade pip C:\Python27-x64\Scripts\pip.exe install --egg scons - C:\Python27-x64\Scripts\pip.exe install numpy + C:\Python27-x64\python.exe -m pip install --no-cache-dir --upgrade pip + C:\Python27-x64\Scripts\pip.exe install --no-cache-dir numpy C:\Python27-x64\Scripts\pip.exe install cython C:\Python27-x64\Scripts\pip.exe install 3to2 C:\Python27-x64\Scripts\pip.exe install pypiwin32 - C:\Python35-x64\python.exe -m pip install --upgrade pip - C:\Python35-x64\Scripts\pip.exe install numpy + C:\Python35-x64\python.exe -m pip install --no-cache-dir --upgrade pip + C:\Python35-x64\Scripts\pip.exe install --no-cache-dir numpy build_script: - cmd: C:\Python27-x64\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y python3_cmd=C:\Python35-x64\python.exe