Skip to content

Commit

Permalink
meta-hailo: Pin the python-numpy to version 1.23.3
Browse files Browse the repository at this point in the history
Hailort 4.18 requires the version of numpy to be 1.23.3, otherwise
the pyhailort will not work correctly.

Signed-off-by: Li Hua Qian <[email protected]>
  • Loading branch information
huaqianli committed Jan 8, 2025
1 parent 82097ac commit fa33795
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ etc/default/hailort_service
usr/bin/hailort_service
# erronous upstream install path, fix here
usr/usr/share/bash-completion/completions/hailortcli usr/share/bash-completion/completions/
debian/python-numpy.pref etc/apt/preferences.d/
3 changes: 3 additions & 0 deletions meta-hailo/recipes-app/hailort/files/debian/python-numpy.pref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Package: python3-numpy
Pin: version 1.23.3
Pin-Priority: 1001
1 change: 1 addition & 0 deletions meta-hailo/recipes-app/hailort/hailort_4.18.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SRC_URI += " \
file://debian/libgsthailo-dev.install \
file://debian/not-installed \
file://debian/rules \
file://debian/python-numpy.pref \
"

DEPENDS += "python3-verboselogs python3-numpy"
Expand Down

0 comments on commit fa33795

Please sign in to comment.