Skip to content

Migrate macOS pipelines to macOS-10.15 - #128

Merged
miketimofeev merged 1 commit into
mainfrom
v-mkoliada/clean_macos-10.15_migration
Dec 22, 2021
Merged

miketimofeev merged 1 commit into
mainfrom
v-mkoliada/clean_macos-10.15_migration

Conversation

@mikhailkoliada

@mikhailkoliada mikhailkoliada commented Dec 17, 2021 •

Copy link
Copy Markdown
Contributor

Summary

As macOS-10.14 got deprecated we need to switch to 10.15 accordingly.
The macOS_SDK_headers_for_macOS_10.14.pkg package is no longer shipped with 10.15 so we have to symlink the xlib.h header file from the current SDK. Apart from that python 3.6.x needs zlib CFLAGS and LDFLAGS set accordingly (otherwise it is compiled without the compression algorithms support and tests are going to fail).

Tested versions

Below are the results of the changes testing with the respective pipelines:

3.6.x - https://github.visualstudio.com/virtual-environments/_build/results?buildId=120449&view=results
3.7.x - https://github.visualstudio.com/virtual-environments/_build/results?buildId=120450&view=results
3.8.x - https://github.visualstudio.com/virtual-environments/_build/results?buildId=120451&view=results
3.9.x - https://github.visualstudio.com/virtual-environments/_build/results?buildId=120452&view=results
3.10.x - https://github.visualstudio.com/virtual-environments/_build/results?buildId=120454&view=results

Not tested / Does not work

2.7.x - Does not compile without hacks, I tried to play with the configure script options and managed to disable some deprecated modules, but some of them are unconditional and we would have to patch the setup.py file to get rid if them, it was discussed and decided not to rebuild 2.7.x anymore
3.5.x it is EOL, does not make sense to rebuild it
3.10.1 - We are experiencing major troubles with the tkinter and turtle modules import, it is currently under investigation (though its failure does not block us, the same failure happened on macOS-10.14).

EDIT: given that lixft and libxext are now installed in the Catalina image there is no more need to symlink the xlib.h from the SDK as libxext is pulling libx11 (which has the header) as a mandatory dependency.

Comment thread builders/macos-python-builder.psm1 Outdated
@mikhailkoliada
mikhailkoliada force-pushed the v-mkoliada/clean_macos-10.15_migration branch from 9aee692 to e9b568c Compare December 22, 2021 09:35
@miketimofeev
miketimofeev merged commit 63966c6 into main Dec 22, 2021
@mikhailkoliada
mikhailkoliada deleted the v-mkoliada/clean_macos-10.15_migration branch December 22, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants