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

add mac wheels built for 10.9 / 64b only #46

Merged
merged 4 commits into from
Mar 27, 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
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,22 @@ matrix:
language: generic
env:
- MB_PYTHON_VERSION=3.5
- MACOSX_DEPLOYMENT_TARGET=10.6 # since pandas PR24274, mac builds default to 10.9
- os: osx
language: generic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robbuckley is there a reason this 3.6 job is still here? also the 3.5 wheel doesn't have MB_PYTHON_OSX_VER=10.9 is that ok?

Copy link
Contributor Author

@robbuckley robbuckley Mar 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jreback the 3.6 / 10.6 job can go. The 3.5 job is built for 10.6 / dual arch because python.org only provide 10.9 / 64b builds of CPython for 3.6.5 and up, and thats what multibuild uses to build the wheels. So if you need to provide a 3.5 wheel, it will have to be 10.6 / dual arch, with the way multibuild is currently implemented

env:
- MB_PYTHON_VERSION=3.6
- MACOSX_DEPLOYMENT_TARGET=10.6 # since pandas PR24274, mac builds default to 10.9


- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- MB_PYTHON_OSX_VER=10.9
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
- MB_PYTHON_OSX_VER=10.9
- NP_BUILD_DEP="numpy==1.14.5"
- NP_TEST_DEP="numpy==1.14.5"

before_install:
# See:
Expand Down
7 changes: 6 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
function pre_build {
# Any stuff that you need to do before you start building the wheels
# Runs in the root directory of this repository.
:
if [ -n "$IS_OSX" ]; then
# Override pandas minimum MACOSX_DEPLOYEMENT_TARGET=10.9 so we can
# build for older Pythons
# See https://github.com/pandas-dev/pandas/pull/24274
export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-$(get_macpython_osx_ver)}
fi
}

function build_wheel {
Expand Down