diff --git a/python-jwt-2.1.0-relax-crypto-requires.patch b/python-jwt-2.1.0-relax-crypto-requires.patch new file mode 100644 index 0000000..f6a81fa --- /dev/null +++ b/python-jwt-2.1.0-relax-crypto-requires.patch @@ -0,0 +1,21 @@ +diff --color -Nur PyJWT-2.1.0.orig/setup.cfg PyJWT-2.1.0/setup.cfg +--- PyJWT-2.1.0.orig/setup.cfg 2021-04-28 05:01:11.610274000 -0700 ++++ PyJWT-2.1.0/setup.cfg 2021-10-03 14:19:24.690627991 -0700 +@@ -44,7 +44,7 @@ + sphinx-rtd-theme + zope.interface + crypto = +- cryptography>=3.3.1,<4.0.0 ++ cryptography>=3.3.1 + tests = + pytest>=6.0.0,<7.0.0 + coverage[toml]==5.0.4 +@@ -52,7 +52,7 @@ + sphinx + sphinx-rtd-theme + zope.interface +- cryptography>=3.3.1,<4.0.0 ++ cryptography>=3.3.1 + pytest>=6.0.0,<7.0.0 + coverage[toml]==5.0.4 + mypy diff --git a/python-jwt.spec b/python-jwt.spec index b5985e2..4adb54f 100644 --- a/python-jwt.spec +++ b/python-jwt.spec @@ -16,11 +16,14 @@ encrypted JSON objects.} Name: python-%{pkgname} Version: 2.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: JSON Web Token implementation in Python License: MIT URL: https://github.com/jpadilla/pyjwt Source0: %pypi_source +# Relax the upper bound on python-cryptography for now. +# Being discussed in https://github.com/GehirnInc/python-jwt/issues/46 +Patch1: python-jwt-2.1.0-relax-crypto-requires.patch BuildArch: noarch @@ -70,6 +73,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose t %changelog +* Sun Oct 03 2021 Kevin Fenzi - 2.1.0-3 +- Relax python-cryptography requirements ( rhbz#2010061 ) + * Fri Jul 23 2021 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild