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

mac wheels should be built for 10.9 #42

Closed
robbuckley opened this issue Feb 7, 2019 · 12 comments · Fixed by #48
Closed

mac wheels should be built for 10.9 #42

robbuckley opened this issue Feb 7, 2019 · 12 comments · Fixed by #48

Comments

@robbuckley
Copy link
Contributor

robbuckley commented Feb 7, 2019

as discussed in #37, pandas wheels should really be built for macOS 10.9. The current wheels, built for 10.6, have some extensions which link to stdlibc++, which has been deprecated since macOS 10.9, and may no longer be installed in some case on 10.14 systems (see pandas-dev/pandas#23424)

A quick hack solution would be to revert #38. This would build wheels which would break if installed on systems < 10.9. Although its highly unlikely anyone is still running such old versions of macOS.

A cleaner fix would be based on https://github.com/matthew-brett/multibuild/pull/224, which is in for review. As will as generating wheels which pip would correctly reject on pre-10.9 systems, it would reduce the gigantic filenames, from:

pandas-0.24.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

to

pandas-0.24.0-cp37-cp37m-macosx_10_9_x86_64.macosx_10_10_x86_64.whl

which appeals to my sense of tidyness

@robbuckley robbuckley changed the title mac wheels should be build for 10.9 mac wheels should be built for 10.9 Feb 7, 2019
@jreback
Copy link
Contributor

jreback commented Feb 8, 2019

yeah we can update once your multibuild PR is merged. we can target 0.25 with >= 10.9 wheels.

@robbuckley
Copy link
Contributor Author

quick update, i have the multibuild changes working, and built 0.24.0 pandas 10.9 wheels for python 2.7, 3.6, 3.7 using my fork. The pandas travis tests all pass. I am waiting for final review / merge into multibuild

As well as the shorter filename, and avoiding a possible recurrence of pandas-dev/pandas#23424 for users running 10.14, as a bonus the wheels are less than half the size - around 9Mb instead of 19Mb as they are built for x86_64 only and not dual arch.

Can you say when the first 0.25 rc is expected, and when this change needs to be ready?

@jreback
Copy link
Contributor

jreback commented Feb 17, 2019

0.25 wont be for a month or more prob 2

@robbuckley
Copy link
Contributor Author

robbuckley commented Mar 14, 2019

update, I think matthew-brett/multibuild#224 is ready now, just waiting final OK from @matthew-brett and co, then there will need to be a release of multibuild i suppose.

I have built some trial pandas 0.24 wheels with it, they all pass the travis tests. I installed one of the new 10.9 / 64b-only wheels locally and ran the pandas test suite - all pass except for 1 known issue which isnt related to this (pandas-dev/pandas#24689)

Build time is down from 39min for the 10.6 wheels to 28min for the 10.9, as it only has to build 64b now.

@robbuckley
Copy link
Contributor Author

https://github.com/matthew-brett/multibuild/pull/224 has been merged to multibuild devel branch. I can raise a PR but which branch should I target ?

@jreback
Copy link
Contributor

jreback commented Mar 24, 2019

daily

@robbuckley
Copy link
Contributor Author

before closing this ticket, is it worth making a PR for master or does that wait until the next pandas release (0.25.0)?

@jreback
Copy link
Contributor

jreback commented Mar 27, 2019

will need to oort to master as well
can u pr there as well?

@robbuckley
Copy link
Contributor Author

sure, will do. What about the maintenance branch?

@jreback
Copy link
Contributor

jreback commented Mar 27, 2019

actually i will just cherry pick this is fine

@robbuckley
Copy link
Contributor Author

BTW I tested locally a couple of the daily Mac wheels after the merge of PR 46 - all good

@robbuckley
Copy link
Contributor Author

robbuckley commented Mar 31, 2019

as discussed, #47 reinstates the changes from #46 for daily. This version should not break the build if the new config.sh is used with the previous version of multibuild (in that case it should fall back to the previous behaviour, building 10.6/dual arch osx wheels)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants