Repository navigation
Conversation
The pinned munki-pkg generated a Distribution file without a hostArchitectures attribute. macOS Installer treats such packages as Intel-only and requires Rosetta 2 before installing on Apple Silicon, even though the framework payload is universal2/arm64. Newer munki-pkg writes hostArchitectures="arm64,x86_64", so the package installs natively on Apple Silicon without Rosetta 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to 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.
Problem
Installing the released pkg on an Apple Silicon Mac requires Rosetta 2 first.
The pinned munki-pkg (
bbd0773) generates the Distribution file fordistribution_stylepackages with:There is no
hostArchitecturesattribute. macOS Installer treats a distribution package without one as Intel-only and asks for Rosetta 2, whatever the payload contains.The payload itself doesn't need Rosetta. In a local 3.15 build, the interpreter, stdlib and pyobjc extensions are universal2, and
preinstallis a zsh script.Fix
Bump
MP_SHAto munki-pkg7d57d07. That version writes:With
arm64listed, Installer runs natively on Apple Silicon and doesn't prompt for Rosetta.Testing
zsh -n build_python_framework_pkgs.zshpasses.hostArchitectureschange.Related, not addressed here
cffiinstalls from itsmacosx_11_0_arm64wheel, so_cffi_backendis arm64-only, while the other native packages are universal2. That's fine on Apple Silicon. But since the pkg now also declaresx86_64, an Intel install would succeed andcffi/xattrwouldn't import there. If Intel shouldn't be supported,hostArchitectures="arm64"would be stricter.🤖 Generated with Claude Code