From 26677141e2dc3ac8cd9d1876cdb025b0ac016d21 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Fri, 24 Nov 2023 08:11:45 +0100 Subject: [PATCH] snap: Fix doc build. On non-x86/arm64 architectures the doc build currently fails due to prebuilt python wheels not being available. Add the missing build dependencies. Use the `python3-venv` metapackage instead of specifying the specific version. Signed-off-by: Frode Nordahl --- snap/snapcraft.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index aca76bc8..3352f7a1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -288,7 +288,11 @@ parts: plugin: nil source: docs/ build-packages: - - python3.11-venv + - libpython3-dev + - libxml2-dev + - libxslt1-dev + - make + - python3-venv override-build: | set -ex make .sphinx/venv