From 63bb2c9bad8acb018f220630e5ce58e4a039d8a2 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Fri, 11 Aug 2023 12:53:25 -0500 Subject: [PATCH] py-cryptography: does not run-depend on py-setuptools-rust (#39386) * py-cryptography: does not run-depend on py-setuptools-rust * py-cryptography: depens_on py-setuptools-rust when @3.4.2: Co-authored-by: Adam J. Stewart * py-cryptography: re-add depends_on type=run for narrow range --------- Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-cryptography/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-cryptography/package.py b/var/spack/repos/builtin/packages/py-cryptography/package.py index cdbbe863f7..caadcf16f3 100644 --- a/var/spack/repos/builtin/packages/py-cryptography/package.py +++ b/var/spack/repos/builtin/packages/py-cryptography/package.py @@ -32,7 +32,8 @@ class PyCryptography(PythonPackage): depends_on("py-setuptools@40.6:", when="@2.7:36", type="build") depends_on("py-setuptools@18.5:", when="@2.2:2.6", type="build") depends_on("py-setuptools@11.3:", when="@:2.1", type="build") - depends_on("py-setuptools-rust@0.11.4:", when="@3.4:", type=("build", "run")) + depends_on("py-setuptools-rust@0.11.4:", when="@3.4.2:", type="build") + depends_on("py-setuptools-rust@0.11.4:", when="@3.4:3.4.1", type=("build", "run")) depends_on("rust@1.48:", when="@38:", type="build") depends_on("rust@1.41:", when="@3.4.5:", type="build") depends_on("rust@1.45:", when="@3.4.3:3.4.4", type="build")