From 95f813a77811b466db2fd61fa786f4d5e2e953cf222dadcccb28b63dd2acb7e4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 19 Oct 2023 12:46:55 +0000 Subject: [PATCH 1/2] 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 --- fastapi-0.103.2.tar.gz | 3 --- fastapi-0.104.0.tar.gz | 3 +++ python-fastapi.changes | 8 ++++++++ python-fastapi.spec | 6 +++++- 4 files changed, 16 insertions(+), 4 deletions(-) delete mode 100644 fastapi-0.103.2.tar.gz create mode 100644 fastapi-0.104.0.tar.gz diff --git a/fastapi-0.103.2.tar.gz b/fastapi-0.103.2.tar.gz deleted file mode 100644 index 578a5db..0000000 --- a/fastapi-0.103.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75a11f6bfb8fc4d2bec0bd710c2d5f2829659c0e8c0afd5560fdda6ce25ec653 -size 11231158 diff --git a/fastapi-0.104.0.tar.gz b/fastapi-0.104.0.tar.gz new file mode 100644 index 0000000..e69b7af --- /dev/null +++ b/fastapi-0.104.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c44de45693ae037b0c6914727a29c49a40668432b67c859a87851fc6a7b74c6 +size 11296936 diff --git a/python-fastapi.changes b/python-fastapi.changes index e62be15..4be5c0b 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 19 11:21:33 UTC 2023 - Ondřej Súkup + +- 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. + ------------------------------------------------------------------- Sun Oct 1 15:35:20 UTC 2023 - Ondřej Súkup diff --git a/python-fastapi.spec b/python-fastapi.spec index af576c2..e135e96 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -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" From 4c93a070ae8f81c7f8c2174a17475d8fabe16f4e79f80eed601326e65ce4c3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 20 Oct 2023 07:14:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=54 --- python-fastapi.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-fastapi.changes b/python-fastapi.changes index 4be5c0b..c15f21f 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -2,9 +2,9 @@ Thu Oct 19 11:21:33 UTC 2023 - Ondřej Súkup - 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. +- disable test_dependency_gets_exception -> https://github.com/tiangolo/fastapi/discussions/9934 ------------------------------------------------------------------- Sun Oct 1 15:35:20 UTC 2023 - Ondřej Súkup