Relax python-cryptography requirements ( rhbz#2010061 )

This commit is contained in:
Kevin Fenzi 2021-10-03 14:27:27 -07:00
parent 8305a534fd
commit adbd8ddd03
2 changed files with 28 additions and 1 deletions

View File

@ -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

View File

@ -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 <kevin@scrye.com> - 2.1.0-3
- Relax python-cryptography requirements ( rhbz#2010061 )
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild