8ae89947fe
* Upgrade Starlette to >=0.37.2,<0.41.0. * Fix openapi generation with responses kwarg. * Remove Required shadowing from fastapi using Pydantic v2. * Add support for Pydantic models for parameters using Query, Cookie, Header - Add patch allow-new-starlette.patch. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=78
14 lines
447 B
Diff
14 lines
447 B
Diff
Index: fastapi-0.115.2/pyproject.toml
|
|
===================================================================
|
|
--- fastapi-0.115.2.orig/pyproject.toml
|
|
+++ fastapi-0.115.2/pyproject.toml
|
|
@@ -43,7 +43,7 @@ classifiers = [
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
]
|
|
dependencies = [
|
|
- "starlette>=0.37.2,<0.41.0",
|
|
+ "starlette>=0.37.2,<0.41.1",
|
|
"pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
|
|
"typing-extensions>=4.8.0",
|
|
]
|