Accepting request 1119161 from devel:languages:python

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

OBS-URL: https://build.opensuse.org/request/show/1119161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2023-10-20 21:16:26 +00:00 committed by Git OBS Bridge
commit 55f035113f
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75a11f6bfb8fc4d2bec0bd710c2d5f2829659c0e8c0afd5560fdda6ce25ec653
size 11231158

3
fastapi-0.104.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c44de45693ae037b0c6914727a29c49a40668432b67c859a87851fc6a7b74c6
size 11296936

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 19 11:21:33 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.104.0
* Add reference (code API) docs with PEP 727, add subclass
with custom docstrings for BackgroundTasks, refactor docs structure.
- disable test_dependency_gets_exception -> https://github.com/tiangolo/fastapi/discussions/9934
-------------------------------------------------------------------
Sun Oct 1 15:35:20 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

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"