py-pyjwt: fix py-cryptography version constraints (#32279)

* py-pyjwt: fix py-cryptography version constraints

* Update var/spack/repos/builtin/packages/py-pyjwt/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
eugeneswalker 2022-08-19 17:50:20 -07:00 committed by GitHub
parent dab46296b6
commit 09486c082c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,5 +22,5 @@ class PyPyjwt(PythonPackage):
depends_on("python@3.6:", when="@2.1.0:", type=("build", "run"))
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"))
depends_on("py-cryptography@3.3.1:3", when="@2.1:2.3+crypto", type=("build", "run"))
depends_on("py-cryptography@3.3.1:", when="@2.4:+crypto", type=("build", "run"))