Skip to content

Commit

Permalink
py-pyjwt: Remove upper bound for py-crytography version
Browse files Browse the repository at this point in the history
py-cryptography is now incrementing major version even when there
are no backwards incompatible changes, so pyjwt have dropped the
upper limit on py-cryptography versions.

See jpadilla/pyjwt#693
  • Loading branch information
payerle committed Jan 25, 2022
1 parent 7134cab commit 8a904a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/py-pyjwt/package.py
Expand Up @@ -21,4 +21,6 @@ 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'))
# Remove upper bound on py-cryptography version.
# See https://github.com/jpadilla/pyjwt/pull/693
depends_on('py-cryptography@3.3.1:', when='@2.1.0:+crypto', type=('build', 'run'))

0 comments on commit 8a904a7

Please sign in to comment.