14
0

- Update to 0.114.2:

* Fix form field regression with alias.
  * Improve performance in request body parsing with a cache for internal
    model fields.
  * Add support for Pydantic models in Form parameters.
  * Fix allow_inf_nan option for Param and Body classes.
  * Ensure that app.include_router merges nested lifespans.
  * Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=75
This commit is contained in:
2024-09-17 05:46:48 +00:00
committed by Git OBS Bridge
commit be13249886
9 changed files with 908 additions and 0 deletions

13
remove-classifiers.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: fastapi-0.95.1/pyproject.toml
===================================================================
--- fastapi-0.95.1.orig/pyproject.toml
+++ fastapi-0.95.1/pyproject.toml
@@ -27,8 +27,6 @@ classifiers = [
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Framework :: FastAPI",
- "Framework :: Pydantic",
- "Framework :: Pydantic :: 1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",