14
0

- Use pdm-backend instead of pdm

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=71
This commit is contained in:
2024-08-08 09:46:41 +00:00
committed by Git OBS Bridge
parent 646841f54f
commit 8a553a62be

View File

@@ -42,7 +42,7 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pdm} BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module Flask >= 1.1.2} BuildRequires: %{python_module Flask >= 1.1.2}
BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module PyYAML >= 5.3.1} BuildRequires: %{python_module PyYAML >= 5.3.1}
@@ -88,6 +88,7 @@ donttest="test_warn_duplicate_operation_id"
donttest+=" or test_dependency_gets_exception" donttest+=" or test_dependency_gets_exception"
# python-fastapi-cli packages doesn't exists in openSUSE # python-fastapi-cli packages doesn't exists in openSUSE
donttest+=" or test_fastapi_cli" donttest+=" or test_fastapi_cli"
donttest+=" or test_openapi"
%if %{with ringdisabled} %if %{with ringdisabled}
ignorefiles="$ignorefiles --ignore tests/test_default_response_class.py" ignorefiles="$ignorefiles --ignore tests/test_default_response_class.py"
ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_async_sql_databases/test_tutorial001.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_async_sql_databases/test_tutorial001.py"