mirror of
https://github.com/saymrwulf/zipline.git
synced 2026-05-14 20:58:10 +00:00
BLD: Fix appveyor build by installing pytables and h5py with conda
This ensures that both tables and h5py are using the same underlying HDF5 library, which was causing issues previously. - Bumps tables to 3.4.2 to get a version of HDF5 supported by h5py as well. - Requires bumping numpy to 1.11.3 to support the new version of tables.
This commit is contained in:
parent
964aa96e1d
commit
5e7b2eee2e
3 changed files with 7 additions and 5 deletions
|
|
@ -20,7 +20,7 @@ environment:
|
|||
|
||||
PYTHON_ARCH: "64"
|
||||
PANDAS_VERSION: "0.18.1"
|
||||
NUMPY_VERSION: "1.11.1"
|
||||
NUMPY_VERSION: "1.11.3"
|
||||
SCIPY_VERSION: "0.17.1"
|
||||
|
||||
matrix:
|
||||
|
|
@ -91,8 +91,10 @@ install:
|
|||
|
||||
- ps: $env:BCOLZ_VERSION=(sls "bcolz==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
|
||||
- ps: $env:NUMEXPR_VERSION=(sls "numexpr==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
|
||||
- ps: $env:PYTABLES_VERSION=(sls "tables==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
|
||||
- ps: $env:H5PY_VERSION=(sls "h5py==(.*)" .\etc\requirements.txt -ca).matches.groups[1].value
|
||||
- ps: $env:TALIB_VERSION=(sls "TA-Lib==(.*)" .\etc\requirements_talib.txt -ca).matches.groups[1].value
|
||||
- conda create -n testenv --yes -q --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% pandas=%PANDAS_VERSION% scipy=%SCIPY_VERSION% ta-lib=%TALIB_VERSION% bcolz=%BCOLZ_VERSION% numexpr=%NUMEXPR_VERSION% -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
|
||||
- conda create -n testenv --yes -q --use-local pip 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% -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
|
||||
- activate testenv
|
||||
- SET CACHE_DIR=%LOCALAPPDATA%\pip\Cache\pip_np%CONDA_NPY%py%CONDA_PY%
|
||||
# pip on windows complains
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ before_install:
|
|||
- source ./ci/travis/install_miniconda.sh
|
||||
- |
|
||||
if [ "$OLD_PANDAS" ]; then
|
||||
NUMPY_VERSION=1.11.1 PANDAS_VERSION=0.18.1 SCIPY_VERSION=0.17.1
|
||||
NUMPY_VERSION=1.11.3 PANDAS_VERSION=0.18.1 SCIPY_VERSION=0.17.1
|
||||
else
|
||||
NUMPY_VERSION=1.14.1 PANDAS_VERSION=0.22.0 SCIPY_VERSION=1.0.0 PANDAS_DATAREADER_VERSION=0.4.0 DASK_VERSION=0.17.1
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Logbook==0.12.5
|
|||
# Scientific Libraries
|
||||
|
||||
pytz==2016.4
|
||||
numpy==1.11.1
|
||||
numpy==1.11.3
|
||||
|
||||
# for pandas-datareader
|
||||
requests-file==1.4.1
|
||||
|
|
@ -79,7 +79,7 @@ lru-dict==1.1.4
|
|||
# For financial risk calculations
|
||||
empyrical==0.5.0
|
||||
|
||||
tables==3.3.0
|
||||
tables==3.4.3
|
||||
|
||||
# For trading calendars
|
||||
trading-calendars==1.0.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue