public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fastapi] rawhide: Ignore Starlette httpx/httpx2 deprecation warnings; fixes RHBZ#2483715
Date: Mon, 01 Jun 2026 13:15:19 GMT	[thread overview]
Message-ID: <178031971927.1.6291375638746832370.rpms-python-fastapi-e28c59f06e1b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-fastapi
Branch : rawhide
Commit : e28c59f06e1b32bea13eab4dc2f67414bacd79d0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-01T14:15:06+01:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-fastapi/c/e28c59f06e1b32bea13eab4dc2f67414bacd79d0?branch=rawhide

Log:
Ignore Starlette httpx/httpx2 deprecation warnings; fixes RHBZ#2483715

---
diff --git a/python-fastapi.spec b/python-fastapi.spec
index e3fbac4..5be8a34 100644
--- a/python-fastapi.spec
+++ b/python-fastapi.spec
@@ -247,6 +247,11 @@ ignore="${ignore-} --ignore-glob=scripts/tests/*"
 # dependency versions in CI.
 warningsfilter="${warningsfilter-} -W ignore::DeprecationWarning"
 
+# FastAPI runs tests using Starlette’s test client, which has deprecated
+# support for httpx; until we have a python-httpx2 package to use instead, we
+# must ignore this. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2483715.
+warningsfilter="${warningsfilter-} -W ignore::starlette.exceptions.StarletteDeprecationWarning"
+
 %pytest ${warningsfilter-} -k "${k-}" ${ignore-}
 
 

                 reply	other threads:[~2026-06-01 13:15 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=178031971927.1.6291375638746832370.rpms-python-fastapi-e28c59f06e1b@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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