Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
bpo-41101: Support "arm64" in Mac/Tools/pythonw#21114
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Closed
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
This was referencedJul 1, 2020
SMillerDev pushed a commit to Homebrew/homebrew-core that referenced this pull requestJul 4, 2020
This set of patches includes the following upstream pull requests:-python/cpython#21114 "Support `arm64` in Mac/Tools/pythonw"-python/cpython#21224 "allow python to build for macosx-11.0-arm64"-python/cpython#21249 "ctypes fixes for arm64 Mac OS"Adding the patches before upstream has released them is warranted herebecause `python@3.8` is widely used as a dependency, and the patch isneeded to enable testing dependent formulae on arm64.CC: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
claui added a commit to Homebrew/formula-patches that referenced this pull requestJul 15, 2020
This set of patches includes the following upstream pull requests,in this order:- PR 20171, "Fix _tkinter use"python/cpython#20171 (prerequisite for patch #21249 to apply)- PR 21114, "Support `arm64` in Mac/Tools/pythonw"python/cpython#21114- PR 21224, "allow python to build for macosx-11.0-arm64"python/cpython#21224- PR 21249, "ctypes fixes for arm64 Mac OS"python/cpython#21249The patches for 20171 and 21249 have been minimally modified in orderto backport them to 3.8.3.Note that these have been successfully tested for `python@3.8`but not for `python@3.7`.The patch directive should be surrounded by an `if Hardware::CPU.arm?`block.
claui pushed a commit to xvilo/homebrew-core that referenced this pull requestJul 15, 2020
This replaces the three unmerged PR patches with a hostedformula patch.This includes the following upstream pull requests:-python/cpython#20171, "Fix _tkinter use" (prerequisite for 21249)-python/cpython#21114, "Support arm64 in Mac/Tools/pythonw"-python/cpython#21224, "allow python to build for macosx-11.0-arm64"-python/cpython#21249, "ctypes fixes for arm64 Mac OS"See also:-Homebrew/formula-patches#292
BrewTestBot pushed a commit to Homebrew/homebrew-core that referenced this pull requestJul 16, 2020
This replaces the three unmerged PR patches with a hostedformula patch.This includes the following upstream pull requests:-python/cpython#20171, "Fix _tkinter use" (prerequisite for 21249)-python/cpython#21114, "Support arm64 in Mac/Tools/pythonw"-python/cpython#21224, "allow python to build for macosx-11.0-arm64"-python/cpython#21249, "ctypes fixes for arm64 Mac OS"See also:-Homebrew/formula-patches#292Closes#57997.Signed-off-by: Claudia Pellegrino <1239874+claui@users.noreply.github.com>
ContributorAuthor
ronaldoussoren commentedOct 23, 2020 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading.Please reload this page.
I'm closing this PR because this work is part of a larger PR that provides a full port to macOS 11 and arm64. Seebpo-41100. |
Sign up for freeto 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.
Uh oh!
There was an error while loading.Please reload this page.
Apple introduced a new CPU architecture for macOS at WWDC2020 (marketing name "Apple Silicon"), which is "arm64".
This PR adds support for this new architecture to Mac/Tools/pythonw which is used in framework builds to launch the real python interpreter (hidden in an Python.app inside the framework) using the same architecture as it is currently using.
https://bugs.python.org/issue41101