Accepting request 1169416 from devel:languages:python

- 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/request/show/1169416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2024-04-30 15:25:37 +00:00 committed by Git OBS Bridge
commit 0037fa1259
4 changed files with 24 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:266775f0dcc95af9d3ef39bad55cff525329a931d5fd51930aadd4f428bf7ff3
size 11739266

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Apr 20 20:50:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Mon Mar 11 03:28:17 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

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}