node-js: always depend on some python, regardless of lower/upper limits (#48350)

This commit is contained in:
Wouter Deconinck 2025-01-02 05:00:09 -06:00 committed by GitHub
parent 022ae8503a
commit 8f145f5e8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,6 +82,7 @@ class NodeJs(Package):
# python requirements are based according to
# https://github.com/spack/spack/pull/47942#discussion_r1875624177
depends_on("python", type="build")
depends_on("python@:3.7", when="@13.0.0:13.0.1", type="build")
depends_on("python@:3.8", when="@13.1.0:14.13.1", type="build")
depends_on("python@:3.9", when="@14.14.0:14.18.1", type="build")