macOS future strategy
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- macos
- Ambito
- build-system, operating-systems, release
Direzione di ricerca
Inizia da questa issue e dalla PR #63055 collegata, esaminando l’approccio attuale descritto qui per il package e la release macOS. Valuta la tempistica proposta per Node.js 27 rispetto a Node.js 28 e ai vincoli Apple indicati. Il lavoro è completato quando il progetto ha una strategia concordata per il pkg universale e il supporto x64.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently the project builds three macOS packages available to download from nodejs.org:
- macOS arm64 tarball
- macOS x64 tarball
- macOS universal binary pkg (i.e. the same installer installs either arm64 or x64).
To build the pkg we build Node.js twice on an arm64 macOS VM:
- Once for x64 under Rosetta 2
- Once for arm64 (native)
and then combine the two into the pkg, sign/notarize.
Apple have announced that the last release of macOS that will support Rosetta 2 will be macOS 27. That's the version two on from what we're currently on (macOS 15 -- Apple renumbered so the sequence goes macOS 15, macOS 26, macOS 27). The same Apple announcement said that the last macOS version to support x64 is Tahoe (26).
So we have two decisions:
- At some point we make the pkg builds arm64 only (as we currently need Rosetta 2 to build those without significant rework of how the releases are done).
- At some point we will need to drop the x64 macOS version of Node.js completely.
Planning is a little difficult with macOS because Apple do not usually announce End-of-Life dates... they just stop releasing after a while. Also they have made changes before around signing/gatekeeper which forced Xcode updates that in turn forced macOS version updates. So there's a large element of "our best guess" when trying to work out what we're likely to be able to support for the duration of a Node.js release line.
Starting the discussion now as I think our preference would be to make changes on semver major boundaries (unless Apple forces our hand as with the previously mentioned signing/gatekeeper change). So discuss first wrt. Node.js 27 (2027) and if we decide that is too soon, switch focus to Node.js 28 etc.
- Lingua principale
- Jinja
- Stelle
- 541
- Fork
- 185
- Merge medio
- 2g 18h
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nodejs/build
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
platform:ppc
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
incident platform:arm
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di nodejs/build
Issue simili
-
nix: vendorHash is outdated Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
typelevel/sbt-typelevel#929 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
openSUSE/python-rpm-macros#219 ·
-
HMR stops working Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
Qiskit/mcp-servers#221 ·