Deployment to Github sites using .yaml : Fails at Flet Build Web process in Actions #3819
-
QuestionHeres the Action log of my Github Actions : https://github.com/WeWeBunnyX/YuTubbyX/actions/runs/10419567810/job/28857885967 Error messageHeres full Action process which failed at Build : https://github.com/WeWeBunnyX/YuTubbyX/actions/runs/10419567810/job/28857885967
Error part : ╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ The Google Privacy Policy describes how data is handled in this service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
║ ║
║ To disable animations in this tool, use ║
║ 'flutter config --no-cli-animations'. ║
╚════════════════════════════════════════════════════════════════════════════╝
Analytics reporting disabled.
You may need to restart any open editors for them to read new settings.
[12:03:09] Created Flutter bootstrap project from
gh:flet-dev/flet-build-template with ref 0.23.2 ✅
Customized app icons and splash images ✅
[12:03:19] Generated app icons ✅
[12:03:24] Generated splash screens ✅
[12:03:39] Running package command
Creating asset directory: /tmp/flet_flutter_build_vMqkkoJKQM/app
Copying Python app from /home/runner/work/YuTubbyX/YuTubbyX to
/tmp/serious_python_tempYLELYA
Configured emscripten_3_1_46_wasm32 platform with sitecustomize.py at
/tmp/serious_python_sitecustomizeHNBOUC/sitecustomize.py
Installing 'find-links' dependencies with pip command to
/tmp/serious_python_tempYLELYA/__pypackages__
Downloading Python distributive from
https://github.com/indygreg/python-build-standalone/releases/download
/20231002/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_on
ly.tar.gz to
/tmp/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.ta
r.gz
Extracting Python distributive from
/tmp/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.ta
r.gz to /tmp/hostpython3.11_TVYTXS
Installing dependencies with pip command to
/tmp/serious_python_tempYLELYA/__pypackages__
/tmp/hostpython3.11_TVYTXS/python/lib/python3.11/site-packages/_distu
tils_hack/__init__.py:33: UserWarning: Setuptools is replacing
distutils.
warnings.warn("Setuptools is replacing distutils.")
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
+ /tmp/hostpython3.11_TVYTXS/python/bin/python3
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad/vend
ored-meson/meson/meson.py setup
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad/.mes
onpy-ru39mnlf -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
--native-file=/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b8
8bdb048ad/.mesonpy-ru39mnlf/meson-python-native-file.ini
The Meson build system
Version: 1.4.99
Source dir:
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad
Build dir:
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad/.mes
onpy-ru39mnlf
Build type: native build
Project name: NumPy
Project version: 2.0.1
../meson.build:1:0: ERROR: Unknown compiler(s):
[['Cannot_compile_native_modules']]
The following exception(s) were encountered:
Running `Cannot_compile_native_modules --version` gave "[Errno
2] No such file or directory: 'Cannot_compile_native_modules'"
A full log can be found at
/tmp/pip-install-1h7pkt1p/numpy_ba5e66a4e8524f97b6856b88bdb048ad/.mes
onpy-ru39mnlf/meson-logs/meson-log.txt
note: This error originates from a subprocess, and is likely not a
problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
A new release of pip is available: 23.2.1 -> 24.2
To update, run: /tmp/hostpython3.11_TVYTXS/python/bin/python3 -m pip
install --upgrade pip
Error building Flet app - see the log of failed command above.
Error: Process completed with exit code 1.------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Answered by
baseplate-admin
Aug 16, 2024
Replies: 1 comment 1 reply
-
|
Your app depends on |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WeWeBunnyX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your app depends on
moviepy. That lib cant be used underpyodite