Skip to content

Commit

Permalink
filter out on appveyor too
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Nov 20, 2019
1 parent 8784d06 commit ed5a79d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .appveyor.yml
Expand Up @@ -89,15 +89,15 @@ install:
# test that we can conda install zipline in a new env
- conda create -n installenv --yes -q --use-local python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% zipline -c quantopian -c https://conda.anaconda.org/quantopian/label/ci

- ps: $env:BCOLZ_VERSION=(sls "bcolz==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:NUMEXPR_VERSION=(sls "numexpr==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:PYTABLES_VERSION=(sls "tables==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:H5PY_VERSION=(sls "h5py==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:TALIB_VERSION=(sls "ta-lib==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:BCOLZ_VERSION=(sls "bcolz==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:NUMEXPR_VERSION=(sls "numexpr==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:PYTABLES_VERSION=(sls "tables==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:H5PY_VERSION=(sls "h5py==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:TALIB_VERSION=(sls "ta-lib==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
# We conda install certifi at the pinned exact version because it is a transitive dependency of zipline via requests and uses distutils for packaging.
# Since conda installs latest certifi by default, we would fail to uninstall that new version when trying to install the pinned version using pip later in the build:
# "Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall."
- ps: $env:CERTIFI_VERSION=(sls "certifi==(.*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- ps: $env:CERTIFI_VERSION=(sls "certifi==([^ ]*)" .\etc\requirements_dev.txt.out -ca).matches.groups[1].value
- conda create -n testenv --yes -q --use-local "pip<19" python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% pandas=%PANDAS_VERSION% scipy=%SCIPY_VERSION% ta-lib=%TALIB_VERSION% bcolz=%BCOLZ_VERSION% numexpr=%NUMEXPR_VERSION% pytables=%PYTABLES_VERSION% h5py=%H5PY_VERSION% certifi=%CERTIFI_VERSION% -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
- activate testenv
- bash etc/dev-install --cache-dir=%LOCALAPPDATA%\pip\Cache\pip_np%CONDA_NPY%py%CONDA_PY%
Expand Down

0 comments on commit ed5a79d

Please sign in to comment.