14
0

- Update to 0.114.2:

* Fix form field regression with alias.
  * Improve performance in request body parsing with a cache for internal
    model fields.
  * Add support for Pydantic models in Form parameters.
  * Fix allow_inf_nan option for Param and Body classes.
  * Ensure that app.include_router merges nested lifespans.
  * Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=75
This commit is contained in:
2024-09-17 05:46:48 +00:00
committed by Git OBS Bridge
parent dce13137e4
commit 27507f8a24
5 changed files with 17 additions and 29 deletions

View File

@@ -20,7 +20,7 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-fastapi
Version: 0.112.0
Version: 0.114.2
Release: 0
Summary: FastAPI framework
License: MIT
@@ -28,8 +28,6 @@ URL: https://github.com/tiangolo/fastapi
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Remove two unknown classifiers
Patch0: remove-classifiers.patch
# PATCH-FIX-UPSTREAM gh#fastapi/fastapi#11876
Patch1: allow-starlette-0.38.patch
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
@@ -54,7 +52,6 @@ BuildRequires: %{python_module dirty-equals}
BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-multipart >= 0.0.7}
BuildRequires: %{python_module sqlalchemy < 2.0}
BuildRequires: %{python_module trio}
%if !%{with ringdisabled}
BuildRequires: %{python_module aiosqlite}