14
0

Accepting request 1118904 from home:mimi_vx:branches:devel:languages:python

- update to 0.104.0
- disable test_dependency_gets_exception -> https://github.com/tiangolo/fastapi/discussions/9934
 * Add reference (code API) docs with PEP 727, add subclass
    with custom docstrings for BackgroundTasks, refactor docs structure.

OBS-URL: https://build.opensuse.org/request/show/1118904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=53
This commit is contained in:
2023-10-19 12:46:55 +00:00
committed by Git OBS Bridge
parent 4f735f7c94
commit 95f813a778
4 changed files with 16 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
# Keep extra test requirements out of Ring1
%bcond_with ringdisabled
Name: python-fastapi
Version: 0.103.2
Version: 0.104.0
Release: 0
Summary: FastAPI framework
License: MIT
@@ -31,10 +31,12 @@ BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic >= 1.8.2}
BuildRequires: %{python_module starlette >= 0.27.0}
BuildRequires: %{python_module typing_extensions >= 4.8.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pydantic >= 1.8.2
Requires: python-starlette >= 0.27.0
Requires: python-typing_extensions >= 4.8.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
@@ -75,6 +77,8 @@ Python FastAPI framework.
%check
# more warnings as expected
donttest="test_warn_duplicate_operation_id"
# https://github.com/tiangolo/fastapi/discussions/9934
donttest="$donttest or test_dependency_gets_exception"
%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"