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

python@3: add arm64 compatibility patches #287

Closed
wants to merge 1 commit into from
Closed

python@3: add arm64 compatibility patches #287

wants to merge 1 commit into from

Conversation

claui
Copy link
Contributor

@claui claui commented Jul 2, 2020

This set of patches includes the following upstream pull requests:

Adding them here is warranted as python@3.8 is widely used as a dependency, and the patch is required to enable testing dependent formulae.

Note that these have been successfully tested for python@3.8 but not for python.

The patch directives should be surrounded by an if Hardware::CPU.arm? block.

This set of patches includes the following upstream pull requests:

- 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#21249

Adding them here is warranted as `python@3.8` is widely used as a
dependency, and the patch is required to enable testing dependent
formulae.

Note that these have been successfully tested for `python@3.8`
but not for `python`.

The patch directives should be surrounded by an `if Hardware::CPU.arm?`
block.
@SMillerDev
Copy link
Member

Why not reference the upstream pull requests in our formulae?

@claui
Copy link
Contributor Author

claui commented Jul 2, 2020

@SMillerDev They’re still under review upstream, and may therefore change unexpectedly, causing spurious SHA failures.

No strong opinion on that though. Happy to reference them directly if that’s ok for us.

@claui
Copy link
Contributor Author

claui commented Jul 4, 2020

Closing in favour of applying individual PR commits directly.

@claui claui closed this Jul 4, 2020
@claui claui deleted the python3.8-arm branch July 4, 2020 07:31
@claui claui restored the python3.8-arm branch July 15, 2020 13:03
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants