From 6c34f5449af5ce95d1b9f09981fb7eb4a94ea3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20S=C3=A1nchez=20de=20Le=C3=B3n=20Peque?= Date: Wed, 5 Feb 2020 15:03:07 +0100 Subject: [PATCH] BLD: Add Python 3.7 to CI/CD --- .appveyor.yml | 7 +++++++ .travis.yml | 3 +++ etc/conda_build_matrix.py | 2 +- etc/requirements_talib.txt | 2 +- setup.py | 1 + 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2ee7f865e5..c84f1eaeb7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -44,6 +44,13 @@ environment: PANDAS_DATAREADER_VERSION: "0.4.0" DASK_VERSION: "0.17.1" + - PYTHON_VERSION: "3.7" + PANDAS_VERSION: "0.22.0" + NUMPY_VERSION: "1.14.1" + SCIPY_VERSION: "1.0.0" + PANDAS_DATAREADER_VERSION: "0.4.0" + DASK_VERSION: "0.17.1" + # We always use a 64-bit machine, but can build x86 distributions # with the PYTHON_ARCH variable (which is used by CMD_IN_ENV). platform: diff --git a/.travis.yml b/.travis.yml index b9c36f2e34..7a9faea2d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ python: - 2.7 - 3.5 - 3.6 + - 3.7 env: global: # 1. Generated a token for travis at https://anaconda.org/quantopian/settings/access with scope api:write. @@ -26,6 +27,8 @@ matrix: env: NEW_PANDAS=1 - python: 3.6 env: OLD_PANDAS=1 + - python: 3.7 + env: OLD_PANDAS=1 # include: # # Workaround Travis OSX not natively supporting Python. # - os: osx diff --git a/etc/conda_build_matrix.py b/etc/conda_build_matrix.py index 7f4b2f6eb6..36d93c4e87 100644 --- a/etc/conda_build_matrix.py +++ b/etc/conda_build_matrix.py @@ -4,7 +4,7 @@ import click -py_versions = ('2.7', '3.4', '3.5', '3.6') +py_versions = ('2.7', '3.4', '3.5', '3.6', '3.7') npy_versions = ('1.9', '1.10') zipline_path = os.path.join( os.path.dirname(__file__), diff --git a/etc/requirements_talib.txt b/etc/requirements_talib.txt index 478a392bb2..389a16cca7 100644 --- a/etc/requirements_talib.txt +++ b/etc/requirements_talib.txt @@ -1 +1 @@ -TA-Lib==0.4.9 +TA-Lib==0.4.17 diff --git a/setup.py b/setup.py index e0226c1e43..566c4795af 100644 --- a/setup.py +++ b/setup.py @@ -315,6 +315,7 @@ def setup_requirements(requirements_path, module_names, strict_bounds, 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Operating System :: OS Independent', 'Intended Audience :: Science/Research', 'Topic :: Office/Business :: Financial',