Repository navigation
Support macOS 11 and Apple Silicon Macs #85272
Copy link
Copy link
Closed
Labels
3.10 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifeOS-macbuildThe build process and cross-buildThe build process and cross-build
Description
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = 'https://github.com/ronaldoussoren'
closed_at = <Date 2021-05-02.21:13:19.655>
created_at = <Date 2020-06-24.11:51:07.053>
labels = ['OS-mac', 'build', '3.8', '3.9', '3.10']
title = 'Support macOS 11 and Apple Silicon Macs'
updated_at = <Date 2021-05-31.18:07:58.057>
user = 'https://github.com/ronaldoussoren'bugs.python.org fields:
activity = <Date 2021-05-31.18:07:58.057>
actor = 'isuruf'
assignee = 'ronaldoussoren'
closed = True
closed_date = <Date 2021-05-02.21:13:19.655>
closer = 'ned.deily'
components = ['Build', 'macOS']
creation = <Date 2020-06-24.11:51:07.053>
creator = 'ronaldoussoren'
dependencies = []
files = ['49962']
hgrepos = []
issue_num = 41100
keywords = ['patch']
message_count = 43.0
messages = ['372245', '372371', '372374', '372375', '372376', '372456', '372457', '372458', '372652', '372672', '372680', '372716', '374315', '375532', '375572', '379230', '380538', '381091', '381097', '381585', '381608', '381640', '381701', '381702', '381708', '381709', '382932', '382939', '386664', '386740', '387526', '390505', '390561', '390562', '391138', '391141', '391142', '391146', '392675', '392680', '392682', '392683', '392734']
nosy_count = 24.0
nosy_names = ['ronaldoussoren', 'vstinner', 'ned.deily', 'skrah', 'jmr', 'lukasz.langa', 'jreese', 'python-dev', 'dirn', 'mattip', 'indygreg', 'Maxime Belanger', 'maxbelanger', 'eamanu', 'corona10', 'isuruf', 'miss-islington', 'mistydemeo', 'erlendaasland', 'nieder', 'lawrence-danna-apple', 'Mika_Hawkins', 'benoithudson', 'harlantc']
pr_nums = ['21113', '21153', '21154', '21155', '21174', '21175', '21176', '21224', '21228', '21239', '21241', '21242', '21249', '21266', '21268', '21564', '21576', '21577', '21583', '21588', '22855', '21114', '21115', '21246', '23239', '23280', '23295', '23293', '23472', '23480', '23484', '23485', '23486', '25014', '25274', '25806', '25808', '25809', '26474']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue41100'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.10 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifeOS-macbuildThe build process and cross-buildThe build process and cross-build
Activity
ronaldoussoren commentedon Jun 24, 2020
macOS 11 is darwin 20.0.0. This confuses the configure script, resulting in defining _POSIX_C_SOURCE and friends.
ned-deily commentedon Jun 25, 2020
New changeset 8ea6353 by Ronald Oussoren in branch 'master':
BPO-41100: Support macOS 11 when building (GH-21113)
8ea6353
miss-islington commentedon Jun 25, 2020
New changeset ad7a667 by Miss Islington (bot) in branch '3.9':
BPO-41100: Support macOS 11 when building (GH-21113)
ad7a667
37 remaining items
harlantc commentedon Apr 15, 2021
@ned.deily sorry about that, will do that in the future. Thanks for replying.
in regard to the extra args, those were all added in an attempt to make things work, I should probably have shown an earlier log that excluded them. I wasn't sure setup.py would be the right place to look for more, I'll take a look there.
Thanks
ned-deily commentedon Apr 15, 2021
No problem. Also you should not need to specify sysroot if you are; the Apple compiler front-end takes care of that for you (see man xcrun for more details).
ned-deily commentedon May 2, 2021
Thanks, Max, for doing the backport to 3.8 hard work! While PR 25274 covered most of the changes needed, there were some additional fixes and changes needed and I felt it was easier to cherry-pick all of the changes into a new PR. I have done extensive building and testing on Big Sur on both Apple Silicon and Intel Macs and regression building and testing on some older macOS versions including macOS 10.9 and python.org macOS installers. So far, it looks good to me. Assuming the 3.8 release manager has no objections, I will merge this in time for 3.8.10 and we can finally close this issue.
ambv commentedon May 2, 2021
New changeset b29d0a5 by Ned Deily in branch '3.8':
[3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (bpo-25806)
b29d0a5
ned-deily commentedon May 2, 2021
New changeset 518f8b5 by Ned Deily in branch 'master':
bpo-41100: Update Misc/ACKS (GH-25808)
518f8b5
ned-deily commentedon May 2, 2021
New changeset bb3ec9c by Miss Islington (bot) in branch '3.9':
bpo-41100: Update Misc/ACKS (GH-25808) (GH-25809)
bb3ec9c
ned-deily commentedon May 2, 2021
Thank you to everyone who contributed to this major undertaking! A particular thank you to Lawrence for doing much of the initial work and paving the way. Now that 3.8 also supports Big Sur and Apple Silicon Macs as of the imminent 3.8.10 release, it's time to close this issue. If new concerns arise, pleasa open or use other issues.
cclauss commentedon May 4, 2024
On Python < v3.8 see