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

Commit 04e3be8

Browse files
robbuckleyjreback
authored andcommitted
add mac wheels built for 10.9 / 64b only (#46)
* update multibuild * add macos 10.9 targets * move MACOSX_DEPLOYMENT_TARGET override out of travis.yml * no 3.5 build for 10.9. add 3.7 build
1 parent 38bb61a commit 04e3be8

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,22 @@ matrix:
4545
language: generic
4646
env:
4747
- MB_PYTHON_VERSION=3.5
48-
- MACOSX_DEPLOYMENT_TARGET=10.6 # since pandas PR24274, mac builds default to 10.9
4948
- os: osx
5049
language: generic
5150
env:
5251
- MB_PYTHON_VERSION=3.6
53-
- MACOSX_DEPLOYMENT_TARGET=10.6 # since pandas PR24274, mac builds default to 10.9
54-
55-
52+
- os: osx
53+
language: generic
54+
env:
55+
- MB_PYTHON_VERSION=3.6
56+
- MB_PYTHON_OSX_VER=10.9
57+
- os: osx
58+
language: generic
59+
env:
60+
- MB_PYTHON_VERSION=3.7
61+
- MB_PYTHON_OSX_VER=10.9
62+
- NP_BUILD_DEP="numpy==1.14.5"
63+
- NP_TEST_DEP="numpy==1.14.5"
5664

5765
before_install:
5866
# See:

config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
function pre_build {
55
# Any stuff that you need to do before you start building the wheels
66
# Runs in the root directory of this repository.
7-
:
7+
if [ -n "$IS_OSX" ]; then
8+
# Override pandas minimum MACOSX_DEPLOYEMENT_TARGET=10.9 so we can
9+
# build for older Pythons
10+
# See https://github.com/pandas-dev/pandas/pull/24274
11+
export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-$(get_macpython_osx_ver)}
12+
fi
813
}
914

1015
function build_wheel {

0 commit comments

Comments
 (0)