Split NPM support into per-build type configurations.
Review Request #14958 — Created March 24, 2026 and submitted — Latest diff uploaded
NPM support is no longer global. Instead, it can now be configured
independently for each build type. This is important for allowing
editable and maybe sdist installs to use NPM, but to avoid it for Wheel
installs (which should not require any kind of Internet access to
build).There are small changes to this:
- The
enabledflag is nowinstall. - The
python-dependenciesis nowpython-modules, which better
reflects how it's used.
Tested on a package using NPM. Verified I could control the NPM
behavior per-build.Viewed the new docs.