Skip to content

Fix universal macOS build for intel macs#1820

Merged
mkrnr merged 3 commits intoopensteno:mainfrom
abotkin:plover-1805-fix
Feb 10, 2026
Merged

Fix universal macOS build for intel macs#1820
mkrnr merged 3 commits intoopensteno:mainfrom
abotkin:plover-1805-fix

Conversation

@abotkin
Copy link
Contributor

@abotkin abotkin commented Feb 10, 2026

Summary of changes

These changes introduce 2 more entitlements to the macOS build so as to allow Python.framework to utilize JIT even in the Hardened Runtime enacted when code signing and notarizing Plover. In testing on 2020 iMac 5k (Intel), adding these two entitlements removed syspolicyd and kerneld complaints in Console log about ASP: Library load (/Applications/Plover.app/Contents/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -> /private/var/tmp/ffiEbrT6c) rejected: library load disallowed by system policy and the app successfully launches. Also ran the same binary on M1 Mac Mini and similarly successful launch (no change in behavior).

In addition, changes are made to ensure that the Python.framework standalone is made completely Universal as some wheels in site-packages were not Universal. This code is largely based off of Greg Neagle's Python Universal Tester in the relocatable-python repo.

A quality of life change is also made to CI to not attempt to submit to PyPI when GitHub Actions are run from forked repos. This allows for folks to safely enable the GitHub Actions workflow without causing issues for the project.

Closes #1805

Pull Request Checklist

  • Changes have tests
  • Signed & notarized builds created on fork's release page via GitHub Actions. Note: Bundle ID & Developer ID differ from Plover's and is only for testing of this PR
  • Ran v5.3.0 test release on fork with entitlement changes on Intel Macs & Apple Silicon Macs successfully
  • News fragment added in news.d. See documentation for details

@mkrnr mkrnr changed the title Plover 5.1.0 hangs on open on Intel macOS Tahoe (#1805) Fix universal macOS build for intel macs Feb 10, 2026
Copy link
Contributor

@mkrnr mkrnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @abotkin for this super valuable contribution! It's great to have Plover fixed for intel Macs and I really like your change to skip the PyPI publishing on forked repos!

@mkrnr mkrnr merged commit 2dcb957 into opensteno:main Feb 10, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plover 5.1.0 hangs on open on Intel macOS Tahoe

2 participants