public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jwt] rawhide: Ignore the FutureWarning for now
@ 2026-06-04 12:58 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-04 12:58 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-jwt
            Branch : rawhide
            Commit : 26997154fd93292b6479905e00612ef05b2f7de6
            Author : Karolina Surma <ksurma@redhat.com>
            Date   : 2026-05-19T12:43:40+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jwt/c/26997154fd93292b6479905e00612ef05b2f7de6?branch=rawhide

            Log:
            Ignore the FutureWarning for now

With Python 3.15, a FutureWarning is displayed in
test_decodes_complete_valid_jwt_with_compressed_payload which makes the
test fail.
Ignore it for now, so that the test passes.

---
diff --git a/python-jwt.spec b/python-jwt.spec
index 124595c..0c9d8c4 100644
--- a/python-jwt.spec
+++ b/python-jwt.spec
@@ -59,7 +59,7 @@ sed -e '/coverage\[toml\]/d' \
 
 
 %check
-%pytest -k 'not (test_ec_to_jwk_with_invalid_curve or test_get_jwt_set_sslcontext_default or test_ec_curve_validation_rejects_p192_for_es256 or test_ec_curve_validation_with_pem_key)'
+%pytest -k 'not (test_ec_to_jwk_with_invalid_curve or test_get_jwt_set_sslcontext_default or test_ec_curve_validation_rejects_p192_for_es256 or test_ec_curve_validation_with_pem_key)' -W ignore::FutureWarning
 
 
 %files -n python3-%{pkgname} -f %{pyproject_files}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-04 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 12:58 [rpms/python-jwt] rawhide: Ignore the FutureWarning for now Karolina Surma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox