Skip to contentSkip to conversation

python3-keras: fix DEPENDS override and add missing pybind11 dependency

PATCH In review Xiaozhan Li 2 participants 2 messages Apr 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-keras: fix DEPENDS override and add missing pybind11 dependency

The DEPENDS variable was first appended with += then overridden by a direct = assignment, causing all previously declared build dependencies to be silently dropped. Consolidate into a single DEPENDS += block and add the missing python3-pybind11-native dependency.

---
 recipes-devtools/python/python3-keras_3.13.2.bb | 3 ---
 1 file changed, 3 deletions(-)
recipes-devtools/python/python3-keras_3.13.2.bb +0 -3
index b5b9338..6bc8adb 100644
@@ -25,9 +25,6 @@ DEPENDS += " \
     python3-h5py \
     python3-mldtypes-native \
     python3-packaging \
-"
-
-DEPENDS = " \
     python3-pybind11-native \
 "
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 15 lines · Xiaozhan Li via lists.yoctoproject.org

The DEPENDS variable was first appended with += then overridden by a direct = assignment, causing all previously declared build dependencies to be silently dropped. Consolidate into a single DEPENDS += block and add the missing python3-pybind11-native dependency.

---
  recipes-devtools/python/python3-keras_3.13.2.bb | 3 ---
  1 file changed, 3 deletions(-)
recipes-devtools/python/python3-keras_3.13.2.bb +0 -0
index b5b9338..6bc8adb 100644

recipes-devtools/python/python3-keras_3.13.2.bb DEPENDS += " \ · line 30

Quoted 9 lines
recipes-devtools/python/python3-keras_3.13.2.bb +0 -3
@@ -25,9 +25,6 @@ DEPENDS += " \
      python3-h5py \
      python3-mldtypes-native \
      python3-packaging \
-"
-
-DEPENDS = " \
      python3-pybind11-native \
  "
 

Thanks for your contribution, merged

//Hongxu