14
0

- update to 0.115.5:

* Update internal checks to support Pydantic 2.10.
  * Fix error in `docs/en/docs/tutorial/middleware.md`.
- update to 0.115.4:
  * Update logic to import and check `python-multipart` for
    compatibility with newer version.
- update to 0.115.3:
  * Upgrade Starlette to `>=0.40.0,<0.42.0`.
  * Fix broken link in docs.
- drop allow-new-starlette.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=82
This commit is contained in:
2024-11-21 08:54:16 +00:00
committed by Git OBS Bridge
parent e5a6aa1e02
commit db7c878a9a
5 changed files with 20 additions and 21 deletions

View File

@@ -20,7 +20,7 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-fastapi
Version: 0.115.2
Version: 0.115.5
Release: 0
Summary: FastAPI framework
License: MIT
@@ -28,18 +28,16 @@ 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-OPENSUSE Allow new starlette
Patch1: allow-new-starlette.patch
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
BuildRequires: %{python_module starlette >= 0.37.2 with %python-starlette < 0.41.1}
BuildRequires: %{python_module starlette >= 0.40.0 with %python-starlette < 0.42.0}
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.37.2 with python-starlette < 0.41.1)
Requires: (python-starlette >= 0.40.0 with python-starlette < 0.42.0)
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch