Skip to content

Cannot build app with supabase dependency (because of pydantic/pydantic-core) #2416

Description

@kacper-the-programmer

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:
image
image
image

Describe the results you expected:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions