Skip to contentSkip to conversation

python3-fastapi: Add missing ptest dependencies

PATCH New Khem Raj 1 participant 2 messages Dec 1, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 python3-fastapi: Add missing ptest dependencies

---
 .../python/python3-fastapi_0.122.0.bb                 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb +10 -1
index 02da557663..7dc5d833bc 100644
@@ -24,4 +24,13 @@ RDEPENDS:${PN} += "\
     python3-typing-extensions \
 "
 
-RDEPENDS:${PN}-ptest += "python3-orjson"
+RDEPENDS:${PN}-ptest += "\
+                        python3-coverage \
+                        python3-httpx \
+                        python3-orjson \
+                        python3-dirty-equals \
+                        python3-pytest-httpx \
+                        python3-python-multipart \
+                        python3-sqlalchemy \
+                        python3-trio \
+"
author
#1 lore raw

PATCH 2/2 fuse3: Fix build with clang on riscv32

Clang needs 64-bit atomics on rv32 here and builtins does not have them so help it by linking with libatomic

Fixes
riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8

---
 meta-oe/recipes-support/fuse/fuse3_3.17.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/fuse/fuse3_3.17.4.bb +3 -0
index 85991ff7be..fcd09059ab 100644
@@ -25,6 +25,9 @@ CVE_PRODUCT = "fuse_project:fuse"
 
 inherit meson pkgconfig ptest
 
+# fix  riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8
+LDFLAGS:append:toolchain-clang:riscv32 = " -latomic"
+
 SRC_URI += " \
     file://run-ptest \
     file://fuse3.conf \