diff --git a/var/spack/repos/builtin/packages/py-cryptography/package.py b/var/spack/repos/builtin/packages/py-cryptography/package.py index eb9e6e3ad6..a02210db21 100644 --- a/var/spack/repos/builtin/packages/py-cryptography/package.py +++ b/var/spack/repos/builtin/packages/py-cryptography/package.py @@ -13,6 +13,7 @@ class PyCryptography(PythonPackage): homepage = "https://github.com/pyca/cryptography" pypi = "cryptography/cryptography-1.8.1.tar.gz" + version("38.0.1", sha256="1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7") version("36.0.1", sha256="53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638") version("35.0.0", sha256="9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d") version("3.4.8", sha256="94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c") @@ -28,10 +29,14 @@ class PyCryptography(PythonPackage): depends_on("python@2.7:2.8,3.4:", when="@2.3.1:", type=("build", "run")) depends_on("python@2.6:2.8,3.4:", type=("build", "run")) - depends_on("py-setuptools@40.6:", when="@2.7:", type="build") + depends_on("py-setuptools@40.6:60.8,60.9.1:", when="@37:", type="build") + 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("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") depends_on("py-cffi@1.12:", when="@3.3:", type=("build", "run")) depends_on("py-cffi@1.8:1.11.2,1.11.4:", when="@2.5:3.2", type=("build", "run"))