public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fastapi] rawhide: Ignore Starlette httpx/httpx2 deprecation warnings; fixes RHBZ#2483715
@ 2026-06-01 13:15 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-01 13:15 UTC (permalink / raw)
To: git-commits
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-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-01 13:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 13:15 [rpms/python-fastapi] rawhide: Ignore Starlette httpx/httpx2 deprecation warnings; fixes RHBZ#2483715 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox