diff mbox series

[meta-python,029/105] python3-fastapi: upgrade 0.162.0 -> 0.163.1

Message ID 20261116175359.342679-29-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
FastAPI now depends on anyio directly. The settings examples were
renamed upstream; drop all docs_src/settings/app02* examples, they need
pydantic-settings which isn't packaged.

Changes:
- 0.163.0: add dependency concurrency limits with
  Depends(max_concurrency=...).
- 0.162.6: breaking, drops support for Python 3.10.
- 0.162.4: require AnyIO 4.1.0 or newer at runtime.
- Fixes: async and sync yield-dependency cleanup on cancellation
  (0.162.5/0.162.7), OpenAPI for response models with nested computed
  fields (0.163.1).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...ython3-fastapi_0.162.0.bb => python3-fastapi_0.163.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-fastapi_0.162.0.bb => python3-fastapi_0.163.1.bb} (89%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-fastapi_0.162.0.bb b/meta-python/recipes-devtools/python/python3-fastapi_0.163.1.bb
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-fastapi_0.162.0.bb
rename to meta-python/recipes-devtools/python/python3-fastapi_0.163.1.bb
index 4c5a5b5dc8..298bc815b9 100644
--- a/meta-python/recipes-devtools/python/python3-fastapi_0.162.0.bb
+++ b/meta-python/recipes-devtools/python/python3-fastapi_0.163.1.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://fastapi.tiangolo.com/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
 
-SRC_URI[sha256sum] = "6a22c1e2e6e32e0633ee7e170f00009a29b8228b16feb219ee42f32fd8d88a8f"
+SRC_URI[sha256sum] = "3d364b02a68b67292e833ff2dfed3b8dc3aeadf73e271c15316c6c166668792f"
 
 SRC_URI += "file://run-ptest"
 
@@ -20,6 +20,7 @@  PACKAGECONFIG[swagger-ui] = ",,,swagger-ui"
 
 RDEPENDS:${PN} += "\
     python3-annotated-doc \
+    python3-anyio \
     python3-fastapi-cli \
     python3-json \
     python3-opentelemetry-api \
@@ -49,6 +50,5 @@  do_install_ptest:append() {
     echo "import sys; from pathlib import Path; sys.path.insert(0, str(Path(__file__).parent))" > ${D}${PTEST_PATH}/conftest.py
     # these docs examples need python3-pydantic-settings, which meta-python
     # doesn't package
-    rm -rf ${D}${PTEST_PATH}/docs_src/settings/app02_an_py310
-    rm -rf ${D}${PTEST_PATH}/docs_src/settings/app02_py310
+    rm -rf ${D}${PTEST_PATH}/docs_src/settings/app02*
 }