14
0

- update to 0.110.2:

* Fix support for query parameters with list types, handle
    JSON encoding Pydantic `UndefinedType`
  * Simplify Pydantic configs in OpenAPI models in
    `fastapi/openapi/models.py`.
  * Add support for Pydantic's 2.7 new deprecated Field
    parameter, remove URL from validation errors response.
- update to 0.110.1:
  * Fix parameterless `Depends()` with generics.
  * Update mypy.
  * Simplify string format with f-strings in
    `fastapi/applications.py`.
  * Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette
    filterwarning for internal tests. PR #11266 by @nothielf.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=68
This commit is contained in:
2024-04-20 20:54:41 +00:00
committed by Git OBS Bridge
parent 648ab7e202
commit 91a6062046
4 changed files with 24 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-fastapi
Version: 0.110.0
Version: 0.110.2
Release: 0
Summary: FastAPI framework
License: MIT
@@ -31,13 +31,13 @@ Patch0: remove-classifiers.patch
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
BuildRequires: %{python_module starlette >= 0.35.0 with %python-starlette < 0.36}
BuildRequires: %{python_module starlette >= 0.37.2 with %python-starlette < 0.38}
BuildRequires: %{python_module typing_extensions >= 4.8.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pydantic >= 1.8.2
Requires: python-typing_extensions >= 4.8.0
Requires: (python-starlette >= 0.35.0 with python-starlette < 0.36)
Requires: (python-starlette >= 0.37.2 with python-starlette < 0.38)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}