From 2c8d91578c7a1ea2b6f1b9e34a00f8d73695ecce4c1f5aa7d82e0d7a1eaa0cb9 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 13 Aug 2024 07:09:57 +0000 Subject: [PATCH] - Skip failing test gh#jpadilla/pyjwt#802 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=71 --- python-PyJWT.changes | 5 +++++ python-PyJWT.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 36e737e..6001346 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 13 07:09:23 UTC 2024 - Daniel Garcia + +- Skip failing test gh#jpadilla/pyjwt#802 + ------------------------------------------------------------------- Mon Aug 5 11:16:57 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-PyJWT.spec b/python-PyJWT.spec index 7d26ab7..6c62ea0 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -57,7 +57,10 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k "not test_verify_false_deprecated" -k "not test_get_jwt_set_sslcontext_default" +donttest="test_verify_false_deprecated or test_get_jwt_set_sslcontext_default" +# Failing test: gh#jpadilla/pyjwt#802 +donttest+=" or test_ec_to_jwk_with_invalid_curve" +%pytest -k "not ($donttest)" %files %{python_files} %license LICENSE