public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jwt] rawhide: Ignore the FutureWarning for now
Date: Thu, 04 Jun 2026 12:58:06 GMT	[thread overview]
Message-ID: <178057788606.1.2155286516390375092.rpms-python-jwt-26997154fd93@fedoraproject.org> (raw)

            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}

                 reply	other threads:[~2026-06-04 12:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178057788606.1.2155286516390375092.rpms-python-jwt-26997154fd93@fedoraproject.org \
    --to=ksurma@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox