Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit 4cbd977

Browse files
Daily 3.8 (#63)
* Bump multibuild * Add 3.8 build * pre-install setuptools_scm only for mac 3.5 build (cherry picked from commit 1508d26)
1 parent a2b214c commit 4cbd977

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

.travis.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ matrix:
2727
# Exclude the default Python 3.5 build
2828
- python: 3.5
2929
include:
30+
- os: linux
31+
env:
32+
- MB_PYTHON_VERSION=3.8
33+
- NP_BUILD_DEP="numpy==1.18.0.dev0"
34+
- NP_TEST_DEP="numpy==1.18.0.dev0"
35+
3036
- os: linux
3137
env:
3238
- MB_PYTHON_VERSION=3.5
@@ -47,6 +53,9 @@ matrix:
4753
env:
4854
- MB_PYTHON_VERSION=3.5
4955
- MB_PYTHON_OSX_VER=10.6 # no python.org 10.9 builds for 3.5
56+
# WAR for setup_requires TLS issue with Python 3.5 on macOS
57+
# see https://github.com/pandas-dev/pandas/issues/28954
58+
- EXTRA_BUILD_DEP="setuptools_scm"
5059
- os: osx
5160
language: generic
5261
env:
@@ -64,10 +73,8 @@ before_install:
6473
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
6574
- CONTAINER="pre-release";
6675
- BUILD_COMMIT=$BUILD_COMMIT;
67-
- BUILD_DEPENDS="$NP_BUILD_DEP Cython==0.28.2"
68-
# binary-only for cryptogrpahy. See https://github.com/pandas-dev/pandas/issues/26589
69-
# Moto picks it up, and they don't distribute 32-bit wheels.
70-
- 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"
76+
- BUILD_DEPENDS="$NP_BUILD_DEP $EXTRA_BUILD_DEP Cython"
77+
- TEST_DEPENDS="$NP_TEST_DEP pytest>=4.0.2 pytest-xdist hypothesis"
7178
- source multibuild/common_utils.sh
7279
- source multibuild/travis_steps.sh
7380
- before_install

config.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ function build_wheel {
2121
build_bdist_wheel $@
2222
}
2323

24+
25+
function pip_opts {
26+
# Add pre-release index until official NumPy release with 3.8
27+
if [ -n "$MANYLINUX_URL" ]; then
28+
echo "--find-links $MANYLINUX_URL --find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
29+
else
30+
echo "--find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
31+
fi
32+
}
33+
34+
2435
function run_tests {
2536
# Runs tests on installed distribution from an empty directory
2637
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')

0 commit comments

Comments
 (0)