flatpak: quote python3-lsp pip command (YAML parsed ':all: ' as a mapping)

The unquoted build-command was parsed by YAML as a dict because of the
':all: ' colon-space, so flatpak-builder ran an empty module and pygls was
never installed into the bundle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 10:24:47 +02:00
parent c14a671b45
commit 06cfaf33b7

View File

@@ -40,7 +40,10 @@ modules:
build-args: build-args:
- --share=network - --share=network
build-commands: build-commands:
- pip3 install --prefix=${FLATPAK_DEST} --only-binary=:all: "pygls>=1.3" # Whole command single-quoted: the ':all: ' colon-space would otherwise
# make YAML parse this list item as a mapping, silently dropping the
# command (flatpak-builder then runs an empty module — installs nothing).
- 'pip3 install --prefix=${FLATPAK_DEST} --only-binary=:all: "pygls>=1.3"'
# 1. Dépendances Python tierces (HORS PySide6) # 1. Dépendances Python tierces (HORS PySide6)
# Utilisez flatpak-pip-generator pour vos autres libs (ex: pyserial, requests, etc.) # Utilisez flatpak-pip-generator pour vos autres libs (ex: pyserial, requests, etc.)