From 462ff79e3032fa2bc7e300863092a5f47efcc54b292e8d2acc76deb7ec9f534a Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Thu, 7 Nov 2024 09:17:16 +0000 Subject: [PATCH] - disable PendingDeprecatingWarning OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=80 --- python-fastapi.changes | 5 +++++ python-fastapi.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-fastapi.changes b/python-fastapi.changes index f497dda..e7ba0d9 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 7 09:16:23 UTC 2024 - Nico Krapp + +- disable PendingDeprecatingWarning + ------------------------------------------------------------------- Fri Oct 18 03:23:50 UTC 2024 - Steve Kowalik diff --git a/python-fastapi.spec b/python-fastapi.spec index befacd5..cdcc42d 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -120,7 +120,7 @@ ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_response_model/test_ donttest="$donttest or test_orjson_response_class" donttest="$donttest or (test_tutorial001 and test_get_custom_response)" %endif -%pytest -W ignore::DeprecationWarning -W ignore::ResourceWarning $ignorefiles -k "not ($donttest)" tests +%pytest -W ignore::DeprecationWarning -W ignore::PendingDeprecationWarning -W ignore::ResourceWarning $ignorefiles -k "not ($donttest)" tests %post %python_install_alternative fastapi