diff --git a/python-jwt.spec b/python-jwt.spec index 7ee388c..c855e14 100644 --- a/python-jwt.spec +++ b/python-jwt.spec @@ -24,8 +24,6 @@ Summary: JSON Web Token implementation in Python License: MIT URL: https://github.com/jpadilla/pyjwt Source0: %pypi_source -# https://github.com/jpadilla/pyjwt/issues/382 -Patch0: skip-failing-tests.patch BuildArch: noarch @@ -63,7 +61,7 @@ Requires: python%{python3_pkgversion}-cryptography >= 1.4.0 %prep -%autosetup -n %{srcname}-%{version} -p 1 +%autosetup -n %{srcname}-%{version} rm -rf %{eggname}.egg-info # prevent pullng in `addopts` for pytest run later rm setup.cfg diff --git a/skip-failing-tests.patch b/skip-failing-tests.patch deleted file mode 100644 index d55acc0..0000000 --- a/skip-failing-tests.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nurp PyJWT-1.6.4.orig/tests/test_api_jws.py PyJWT-1.6.4/tests/test_api_jws.py ---- PyJWT-1.6.4.orig/tests/test_api_jws.py 2018-03-03 08:45:20.000000000 -0600 -+++ PyJWT-1.6.4/tests/test_api_jws.py 2018-11-04 21:56:17.427282748 -0600 -@@ -281,6 +281,7 @@ class TestJWS: - - pytest.deprecated_call(jws.decode, example_jws, key=example_secret) - -+ @pytest.mark.skip(reason='Fails on Fedora 30') - def test_decode_no_algorithms_verify_signature_false(self, jws): - example_secret = 'secret' - example_jws = ( -diff -Nurp PyJWT-1.6.4.orig/tests/test_api_jwt.py PyJWT-1.6.4/tests/test_api_jwt.py ---- PyJWT-1.6.4.orig/tests/test_api_jwt.py 2018-03-18 08:35:35.000000000 -0500 -+++ PyJWT-1.6.4/tests/test_api_jwt.py 2018-11-04 21:56:41.598120723 -0600 -@@ -508,6 +508,7 @@ class TestJWT: - secret - ) - -+ @pytest.mark.skip(reason='Fails on Fedora 30') - def test_decode_no_algorithms_verify_false(self, jwt, payload): - secret = 'secret' - jwt_message = jwt.encode(payload, secret)