diff --git a/fastapi-0.115.12.tar.gz b/fastapi-0.115.12.tar.gz new file mode 100644 index 0000000..c1da55d --- /dev/null +++ b/fastapi-0.115.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e2c2a2646905f9e83d32f04a3f86aff4a286669c6c950ca95b5fd68c2602681 +size 295236 diff --git a/fastapi-0.115.8.tar.gz b/fastapi-0.115.8.tar.gz deleted file mode 100644 index 1dc6845..0000000 --- a/fastapi-0.115.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ce9111231720190473e222cdf0f07f7206ad7e53ea02beb1d2dc36e2f0741e9 -size 295403 diff --git a/python-fastapi.changes b/python-fastapi.changes index 912e62e..45492cb 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 1 05:53:56 UTC 2025 - Steve Kowalik + +- 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. + ------------------------------------------------------------------- Fri Feb 7 11:00:37 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-fastapi.spec b/python-fastapi.spec index 67be79c..c7cb3eb 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -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 diff --git a/remove-classifiers.patch b/remove-classifiers.patch deleted file mode 100644 index 4f4de1f..0000000 --- a/remove-classifiers.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Nru fastapi-0.115.8.orig/pyproject.toml fastapi-0.115.8/pyproject.toml ---- fastapi-0.115.8.orig/pyproject.toml 2025-01-30 15:06:26.874525500 +0100 -+++ fastapi-0.115.8/pyproject.toml 2025-02-07 12:00:18.048128044 +0100 -@@ -29,9 +29,6 @@ - "Environment :: Web Environment", - "Framework :: AsyncIO", - "Framework :: FastAPI", -- "Framework :: Pydantic", -- "Framework :: Pydantic :: 1", -- "Framework :: Pydantic :: 2", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3 :: Only",