14
0

- Update to 0.115.12:

* Fix convert_underscores=False for header Pydantic models.
  * Add docs examples and tests (support) for Annotated custom validations,
    like AfterValidator.
  * Update internal annotation usage for compatibility with Pydantic 2.11.
  * Ensure that HTTPDigest only raises an exception when auto_error is True.
- Drop remove-classifiers.patch, no longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=90
This commit is contained in:
2025-05-01 05:54:46 +00:00
committed by Git OBS Bridge
parent e439df6d66
commit 8ae5fcc01c
5 changed files with 17 additions and 21 deletions

View File

@@ -20,24 +20,22 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-fastapi
Version: 0.115.8
Version: 0.115.12
Release: 0
Summary: FastAPI framework
License: MIT
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
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
BuildRequires: %{python_module starlette >= 0.40.0 with %python-starlette < 0.46.0}
BuildRequires: %{python_module starlette >= 0.40.0 with %python-starlette < 0.47.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.40.0 with python-starlette < 0.46.0)
Requires: (python-starlette >= 0.40.0 with python-starlette < 0.47.0)
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch