flet: Cannot build app with `supabase` dependency (because of `pydantic`/`pydantic-core`)
Description I tried to build apk file from app that uses pyrebase and supabase modules but building app just stops, packaging stage freezes on installing python packages
Code example to reproduce the issue:
import flet as ft
def main(page: ft.Page):
page.add(ft.SafeArea(ft.Text("Hello, Flet!")))
ft.app(main)
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally): building app for windows are outputting errors but building .exe is successful
Flet version (pip show flet
):
Version: 0.19.0
Operating system: Windows 11
About this issue
- Original URL
- State: open
- Created 5 months ago
- Comments: 33 (28 by maintainers)
I will take look into that
Will take a look.
I even ask on kivy’s discord but no one responded to my question
https://python-for-android.readthedocs.io/en/latest/recipes/
I found p4a recepies documentation https://github.com/kivy/python-for-android/blob/develop/doc/source/recipes.rst I will read this few times and then create PR for p4a
it for sure is related to
pydantic_core
but it should show error like “error with installing pydantic_core” not just freeze