python3-fastapi: Upgrade 0.141.1 -> 0.162.0

Release notes: https://github.com/fastapi/fastapi/releases

* opentelemetry-api is now a runtime dependency
* Add opentelemetry-sdk and git to ptest dependencies, used by the new
  telemetry and translation script tests
* Ignore telemetry tests that need logfire, the opentelemetry OTLP
  exporter and the opentelemetry fastapi instrumentation, which are not
  packaged in meta-python
* Fixes the ptest hang in
  test_frontend_dependency_restores_existing_dependency_stacks with
  starlette 1.10, fixed upstream in 0.142.0

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj authored and Khem Raj committed 2026-10-30 20:59:21 -07:00
1 parent 4faf8dd010
commit f3da02099d
2 files changed
+13 -2

No files matched your search

@@ -2,4 +2,12 @@
# ignore the test from the tutorial
# those depends on python packages that are not part of OE
pytest --automake --ignore tests/test_tutorial
# the ignored telemetry tests need logfire, the opentelemetry otlp exporter
# and the opentelemetry fastapi instrumentation, which are not part of OE
pytest --automake --ignore tests/test_tutorial \
--ignore tests/test_telemetry/test_background.py \
--ignore tests/test_telemetry/test_data.py \
--ignore tests/test_telemetry/test_environment_integrations.py \
--ignore tests/test_telemetry/test_integrations.py \
--ignore tests/test_telemetry/test_native_integrations.py \
--ignore tests/test_telemetry/test_runtime.py
@@ -4,7 +4,7 @@ HOMEPAGE = "https://fastapi.tiangolo.com/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
SRC_URI[sha256sum] = "e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1"
SRC_URI[sha256sum] = "6a22c1e2e6e32e0633ee7e170f00009a29b8228b16feb219ee42f32fd8d88a8f"
SRC_URI += "file://run-ptest"
@@ -22,14 +22,17 @@ RDEPENDS:${PN} += "\
python3-annotated-doc \
python3-fastapi-cli \
python3-json \
python3-opentelemetry-api \
python3-pydantic \
python3-starlette \
python3-typing-extensions \
"
RDEPENDS:${PN}-ptest += "\
git \
python3-coverage \
python3-httpx \
python3-opentelemetry-sdk \
python3-orjson \
python3-dirty-equals \
python3-pytest-httpx \