From 52706d147bf9eec583f504670a703c32962eb18e1bafc2fb9ed5e3fded79b17c Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 8 Aug 2024 09:46:41 +0000 Subject: [PATCH] - Use pdm-backend instead of pdm OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=71 --- python-fastapi.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-fastapi.spec b/python-fastapi.spec index 05151c1..7f31a42 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -42,7 +42,7 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pdm} +BuildRequires: %{python_module pdm-backend} BuildRequires: %{python_module Flask >= 1.1.2} BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module PyYAML >= 5.3.1} @@ -88,6 +88,7 @@ donttest="test_warn_duplicate_operation_id" donttest+=" or test_dependency_gets_exception" # python-fastapi-cli packages doesn't exists in openSUSE donttest+=" or test_fastapi_cli" +donttest+=" or test_openapi" %if %{with ringdisabled} ignorefiles="$ignorefiles --ignore tests/test_default_response_class.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_async_sql_databases/test_tutorial001.py"