Uh oh!
There was an error while loading. Please reload this page.
deps: upgrade npm to 10.9.5 - #62110
Conversation
nodejs-github-bot
commented
Mar 4, 2026
Review requested:
|
wraithgar
commented
Mar 4, 2026
This needs a |
manzoorwanijk
commented
Mar 4, 2026
Is there any specific requirement for these changes to not work in v20? |
Renegade334
commented
Mar 5, 2026
|
nodejs-github-bot
commented
Mar 5, 2026
wraithgar
commented
Mar 5, 2026
npm@10 works just fine in node 20, but we can't update it in releases anymore because of a breaking change in python requirements in |
marco-ippolito
commented
Mar 5, 2026
If I understood correctly, a breaking node-gyp upgrade was included in the npm release? Was it a semver major upgrade of node-gyp? I'm trying to understand if its possible to revert the breaking change so users can upgrade npm on node v20 without breaking changes |
richardlau
commented
Mar 5, 2026
nodejs/node-gyp#3149 introduced the walrus operator (incompatible with Python 3.7 and 3.6) and went out in node-gyp 11.2.0. |
It was not, it was a minor release. It was a part of node-gyp that wasn't really on anyone's radar for checking breaking changes, but it is now. There was even a discussion in the update PR that talked about updating python and nobody clocked it. It was just an oversight that we're now having to deal with. Folks wanting to use the newest npm@10 in node 20 can still override which |
marco-ippolito
commented
Mar 5, 2026
Could it be possible to revert that breaking change or is it too late/ there are other breaking changes? |
I do not know the specifics of if or how ETA: node 20 goes eol in approximately one month. I don't think large disruptions are warranted here. |
npm-cli-bot
commented
Mar 11, 2026
Closing in favor of #62215 |
10.9.5 (2026-03-04)
Bug Fixes
794f6c8#9011 backport linked strategy fixes from multiple PRs to v10 (#9011) (@manzoorwanijk)Dependencies
6717032#9056tuf-js@3.1.0e4e25ea#9056tinyglobby@0.2.159464329#9056socks@2.8.723c3e17#9056postcss-selector-parser@7.1.177f9c29#9056p-map@7.0.4f1a0315#9056npm-install-checks@7.1.2ad7d3ac#9056normalize-package-data@7.0.163a7c82#9056node-gyp@11.5.0569d807#9056isexe@3.1.57dbe993#9056fdir@6.5.0f241a38#9056exponential-backoff@3.1.3bdeabff#9056ci-info@4.4.0d8ebcd5#9056aproba@2.1.0be1b008#9056spdx-license-ids@3.0.231005efd#9056strip-ansi@7.2.0d00bf96#9056diff@5.2.27a74819#9056debug@4.4.3938db00#9056minipass@7.1.370e90e5#9056minimatch@9.0.9733ff41#9056glob@10.5.0ea8227a#9056ansi-styles@6.2.3edd20ef#9056ansi-regex@6.2.22592b45#9056agent-base@7.7.43174366#9056semver@7.7.4380df0e#9056tar@7.5.949025ae#9056chalk@5.6.264601cd#9056@npmcli/promise-spawn@8.0.30e23c00#9056validate-npm-package-name@6.0.2Chores
72cc7de#9056template-oss@4.29.0(@wraithgar)51711b8#9056 dev dependency updates (@wraithgar)@npmcli/arborist@8.0.2libnpmdiff@7.0.2libnpmexec@9.0.2libnpmfund@6.0.2libnpmpack@8.0.2libnpmpublish@10.0.2