flet icon indicating copy to clipboard operation
flet copied to clipboard

flet build get stuck due to supabase in requirements.txt

Open coolninjaturtle opened this issue 1 year ago • 1 comments

When I built my project for the first time, I forgot to include a requirements.txt in the root of my project and thus failed to have supabase included in my app. However, it did build into a full apk without issues. However, now that I have a requirements.txt file which contains the following:

flet==0.21.2 supabase==2.4.0

the flet build apk ALWAYS gets stuck here:

Packaging Python app... Run subprocess: ['C:\Users\ishaa\flutter_windows_3.19.5-stable\flutter\bin\dart.BAT', 'run', 'serious_python:main', 'package', 'C:\Users\ishaa\Python Programs\final_ia', '--mobile', '--platform', 'mobile', '--dep-mappings', 'flet=flet-embed', '--req-deps', 'flet-embed', '--exclude', 'build'] Building package executable... (3.0s) Built serious_python:main. Running package command Creating asset directory: C:\Users\ishaa\AppData\Local\Temp\flet_flutter_build_SQXPOAb0lW\app Copying Python app from C:\Users\ishaa\Python Programs\final_ia to C:\Users\ishaa\AppData\Local\Temp\serious_python_tempe6ddd7f5 Configured mobile platform with sitecustomize.py at C:\Users\ishaa\AppData\Local\Temp\serious_python_sitecustomize760fd645\sitecustomize.py Installing dependencies [flet-embed==0.21.2, supabase==2.4.0] with pip command to C:\Users\ishaa\AppData\Local\Temp\serious_python_tempe6ddd7f5_pypackages_ Extracting Python distributive from C:\Users\ishaa\AppData\Local\Temp\cpython-3.11.6+20231002-x86_64-pc-windows-msvc-shared-install_only.tar.gz to C:\Users\ishaa\AppData\Local\Temp\hostpython3.11_6c6958bd

coolninjaturtle avatar Apr 06 '24 02:04 coolninjaturtle

this may help: https://github.com/flet-dev/flet/issues/2416

kacper-the-programmer avatar Apr 06 '24 12:04 kacper-the-programmer

Closing this issue in favour of #3839

ndonkoHenri avatar Aug 21 '24 08:08 ndonkoHenri