Repository navigation
Migrate macOS pipelines to macOS-10.15 - #128
Merged
Merged
Conversation
4 tasks
mikhailkoliada
force-pushed
the
v-mkoliada/clean_macos-10.15_migration
branch
from
December 20, 2021 08:27
05e1846 to
9aee692
Compare
MaksimZhukov
approved these changes
Dec 20, 2021
miketimofeev
approved these changes
Dec 20, 2021
mikhailkoliada
force-pushed
the
v-mkoliada/clean_macos-10.15_migration
branch
from
December 22, 2021 09:35
9aee692 to
e9b568c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
As macOS-10.14 got deprecated we need to switch to 10.15 accordingly.
The
macOS_SDK_headers_for_macOS_10.14.pkgpackage is no longer shipped with 10.15 so we have to symlink thexlib.hheader 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.pyfile to get rid if them, it was discussed and decided not to rebuild 2.7.x anymore3.5.x it is EOL, does not make sense to rebuild it
3.10.1 - We are experiencing major troubles with the
tkinterandturtlemodules 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.