Skip to content

Fix tflite-runtime numpy include path#3310

Merged
AndreMiras merged 4 commits intokivy:developfrom
lazycat11:fix-tflite-runtime-numpy-include
May 2, 2026
Merged

Fix tflite-runtime numpy include path#3310
AndreMiras merged 4 commits intokivy:developfrom
lazycat11:fix-tflite-runtime-numpy-include

Conversation

@lazycat11
Copy link
Copy Markdown

tflite-runtime still looks for NumPy headers under numpy/core/include, but current NumPy installs them under numpy/_core/include.

This matches the include path already used by the numpy, pandas, scipy, and opencv recipes. The change first tries numpy/_core/include and falls back to numpy/core/include for older layouts.

Validation:

  • python3 -m py_compile pythonforandroid/recipes/tflite-runtime/init.py
  • git diff --check
  • verified local NumPy build output contains numpy/_core/include

Copy link
Copy Markdown
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@AndreMiras AndreMiras merged commit 17ba878 into kivy:develop May 2, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants