Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow python to build for macosx-11.0-arm64 #85336

Closed
lawrence-danna-apple mannequin opened this issue Jun 29, 2020 · 6 comments
Closed

allow python to build for macosx-11.0-arm64 #85336

lawrence-danna-apple mannequin opened this issue Jun 29, 2020 · 6 comments
Labels
3.9 only security fixes 3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@lawrence-danna-apple
Copy link
Mannequin

lawrence-danna-apple mannequin commented Jun 29, 2020

BPO 41164
Nosy @ronaldoussoren, @ned-deily, @corona10, @lawrence-danna-apple
PRs
  • bpo-41100: allow python to build for macosx-11.0-arm64 #21224
  • Superseder
  • bpo-41100: Support macOS 11 and Apple Silicon Macs
  • Files
  • 0001-arm64.patch
  • 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 = None
    closed_at = <Date 2020-06-30.04:25:34.217>
    created_at = <Date 2020-06-29.23:57:08.433>
    labels = ['interpreter-core', 'type-feature', '3.9', '3.10']
    title = 'allow python to build for macosx-11.0-arm64'
    updated_at = <Date 2020-06-30.09:39:32.527>
    user = 'https://github.com/lawrence-danna-apple'

    bugs.python.org fields:

    activity = <Date 2020-06-30.09:39:32.527>
    actor = 'ronaldoussoren'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-30.04:25:34.217>
    closer = 'ned.deily'
    components = ['Interpreter Core']
    creation = <Date 2020-06-29.23:57:08.433>
    creator = 'lawrence-danna-apple'
    dependencies = []
    files = ['49277']
    hgrepos = []
    issue_num = 41164
    keywords = ['patch']
    message_count = 6.0
    messages = ['372641', '372647', '372648', '372649', '372651', '372676']
    nosy_count = 4.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'corona10', 'lawrence-danna-apple']
    pr_nums = ['21224']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '41100'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41164'
    versions = ['Python 3.9', 'Python 3.10']

    @lawrence-danna-apple
    Copy link
    Mannequin Author

    lawrence-danna-apple mannequin commented Jun 29, 2020

    allow python to build for macosx-11.0-arm64, by adding the appropriate case to configure.ac

    @lawrence-danna-apple lawrence-danna-apple mannequin added 3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement labels Jun 29, 2020
    @corona10
    Copy link
    Member

    Thanks, Lawrence for the patch.

    I am happy to see the patch from the Apple team.
    By the way, is there any way to check that the CPython team can check all the tests works well on the ARM macOS?

    @corona10 corona10 added 3.10 only security fixes labels Jun 30, 2020
    @lawrence-danna-apple
    Copy link
    Mannequin Author

    lawrence-danna-apple mannequin commented Jun 30, 2020

    The tests do not all pass yet, I thought I'd try with the tiny patch to enable building on arm and follow up with more after I getting feedback.

    If you prefer, I can wait until I have a complete patch that addresses all test failures on arm, but if you want to do it that way I think it will have to wait until the next seed of Mac OS 11 comes out.

    If you want to test it yourself on an arm Mac, we have Developer Transition Kits that include an arm Mac mini

    https://developer.apple.com/programs/universal/

    @ned-deily
    Copy link
    Member

    Lawrence, thanks for the PR. We appreciate any insights from you all. We ahve already started to build using the first seed of Big Sur and have already committed some fixes. Rather than having multiple open issues covering the same topic, I'd like to suggest that we use the existing one bpo-41100 to consolidate the PRs; to that end, I've changed the title of your PR (PR 21224) to reference that issue and I'm going to close this one. I'll add you to the other issue and we can continue discussions. BTW, I believe a DTK is in Ronald's future :)

    @lawrence-danna-apple
    Copy link
    Mannequin Author

    lawrence-danna-apple mannequin commented Jun 30, 2020

    sound good, thanks

    @ronaldoussoren
    Copy link
    Contributor

    FYI I have as of a couple of minutes ago received a developer transition kit and can, and will, test on the new hardware.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants