diff --git a/var/spack/repos/builtin/packages/py-pyjwt/package.py b/var/spack/repos/builtin/packages/py-pyjwt/package.py index 777c3922b4..afe6dfdd1a 100644 --- a/var/spack/repos/builtin/packages/py-pyjwt/package.py +++ b/var/spack/repos/builtin/packages/py-pyjwt/package.py @@ -12,6 +12,7 @@ class PyPyjwt(PythonPackage): homepage = "https://github.com/jpadilla/pyjwt" pypi = "PyJWT/PyJWT-1.7.1.tar.gz" + version("2.4.0", sha256="d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba") version("2.1.0", sha256="fba44e7898bbca160a2b2b501f492824fc8382485d3a6f11ba5d0c1937ce6130") version("1.7.1", sha256="8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96") @@ -22,3 +23,4 @@ class PyPyjwt(PythonPackage): depends_on("py-setuptools", type="build") depends_on("py-cryptography@1.4:", when="+crypto", type=("build", "run")) depends_on("py-cryptography@3.3.1:3", when="@2.1.0:+crypto", type=("build", "run")) + depends_on("py-cryptography@3.3.1:", when="@2.4.0:+crypto", type=("build", "run"))