From 3108fea4c7163f707a6000ecd540266d4ac88969 Mon Sep 17 00:00:00 2001 From: robbuckley <20515024+robbuckley@users.noreply.github.com> Date: Tue, 15 Oct 2019 02:26:21 +0100 Subject: [PATCH] install latest pip, add setuptools_scm to BUILD_DEPENDS (#62) * install latest pip, add setuptools_scm to BUILD_DEPENDS * remove comments * pre-install setuptools_scm only for mac 3.5 build (cherry picked from commit 1508d26c84da930bbf571b5e51521343ff948b1c) --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b1567b1..5b02cda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,9 @@ matrix: env: - MB_PYTHON_VERSION=3.5 - MB_PYTHON_OSX_VER=10.6 # no python.org 10.9 builds for 3.5 + # WAR for setup_requires TLS issue with Python 3.5 on macOS + # see https://github.com/pandas-dev/pandas/issues/28954 + - EXTRA_BUILD_DEP="setuptools_scm" - os: osx language: generic env: @@ -64,7 +67,7 @@ before_install: - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" - CONTAINER="pre-release"; - BUILD_COMMIT=$BUILD_COMMIT; - - BUILD_DEPENDS="$NP_BUILD_DEP Cython==0.28.2" + - BUILD_DEPENDS="$NP_BUILD_DEP $EXTRA_BUILD_DEP Cython==0.28.2" # binary-only for cryptogrpahy. See https://github.com/pandas-dev/pandas/issues/26589 # Moto picks it up, and they don't distribute 32-bit wheels. - TEST_DEPENDS="$NP_TEST_DEP pytest>=4.0.2 pytest-xdist pytest-mock moto hypothesis>=3.58 wheel==0.31.1 cryptography --only-binary=cryptography"