forked from pool/python-fastapi
- 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:
3
fastapi-0.115.12.tar.gz
Normal file
3
fastapi-0.115.12.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e2c2a2646905f9e83d32f04a3f86aff4a286669c6c950ca95b5fd68c2602681
|
||||||
|
size 295236
|
BIN
fastapi-0.115.8.tar.gz
(Stored with Git LFS)
BIN
fastapi-0.115.8.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 1 05:53:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- 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 <adrian.glaubitz@suse.com>
|
Fri Feb 7 11:00:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -20,24 +20,22 @@
|
|||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-fastapi
|
Name: python-fastapi
|
||||||
Version: 0.115.8
|
Version: 0.115.12
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: FastAPI framework
|
Summary: FastAPI framework
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/tiangolo/fastapi
|
URL: https://github.com/tiangolo/fastapi
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
|
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 hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
|
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: %{python_module typing_extensions >= 4.8.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pydantic >= 1.8.2
|
Requires: python-pydantic >= 1.8.2
|
||||||
Requires: python-typing_extensions >= 4.8.0
|
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(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
@@ -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",
|
|
Reference in New Issue
Block a user