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

3.8 master #64

Merged
merged 6 commits into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env:
global:
- REPO_DIR=pandas
# on release change this to a version
- BUILD_COMMIT=v0.25.1
- BUILD_COMMIT=0.25.x
- PLAT=x86_64
- UNICODE_WIDTH=32
- MB_PYTHON_OSX_VER=10.9
Expand All @@ -27,6 +27,19 @@ matrix:
# Exclude the default Python 3.5 build
- python: 3.5
include:
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP="numpy==1.18.0.dev0"
- NP_TEST_DEP="numpy==1.18.0.dev0"

- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP="numpy==1.18.0.dev0"
- NP_TEST_DEP="numpy==1.18.0.dev0"

- os: linux
env:
- MB_PYTHON_VERSION=3.5
Expand Down Expand Up @@ -71,10 +84,8 @@ before_install:
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
- CONTAINER="wheels"; # pre-relesae
- BUILD_COMMIT=$BUILD_COMMIT;
- 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"
- BUILD_DEPENDS="$NP_BUILD_DEP $EXTRA_BUILD_DEP Cython"
- TEST_DEPENDS="$NP_TEST_DEP pytest>=4.0.2 pytest-xdist hypothesis"
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
Expand Down
10 changes: 10 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ function build_wheel {
build_bdist_wheel $@
}


function pip_opts {
# Add pre-release index until official NumPy release with 3.8
if [ -n "$MANYLINUX_URL" ]; then
echo "--find-links $MANYLINUX_URL --find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
else
echo "--find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
fi
}

function run_tests {
# Runs tests on installed distribution from an empty directory
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
Expand Down