From f13ea8aa75f12f3724591ab5d59a26efd5ade560 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 25 Jun 2024 02:00:03 -0500 Subject: [PATCH] py-scikit-build-core: typing-extension dependency fix (#44817) --- .../repos/builtin/packages/py-scikit-build-core/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-scikit-build-core/package.py b/var/spack/repos/builtin/packages/py-scikit-build-core/package.py index 554344b93bb..c87ac49e066 100644 --- a/var/spack/repos/builtin/packages/py-scikit-build-core/package.py +++ b/var/spack/repos/builtin/packages/py-scikit-build-core/package.py @@ -45,7 +45,8 @@ class PyScikitBuildCore(PythonPackage): depends_on("py-pathspec@0.10.1:", type=("build", "run"), when="@0.9:") depends_on("py-tomli@1.2.2:", when="@0.9: ^python@:3.10", type=("build", "run")) depends_on("py-tomli@1.1:", when="^python@:3.10", type=("build", "run")) - depends_on("py-typing-extensions@3.10:", when="^python@:3.7", type=("build", "run")) + depends_on("py-typing-extensions@3.10:", when="@0.8: ^python@:3.8", type=("build", "run")) + depends_on("py-typing-extensions@3.10:", when="@:0.7 ^python@:3.7", type=("build", "run")) depends_on("cmake@3.15:", type=("build", "run")) # Optional dependencies