From de7e1eb1cf7ba5d60f8a6be8397c4f87c168f4aa Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Wed, 15 Jan 2025 15:56:31 +0000 Subject: [PATCH] github: remove dependency of python wheel's on dune Ubuntu's dune is way too old for the version generally used. On top of that the command doesn't fail when this happens, making the setup brittle. Instead write the version variable to config.mk and run make. Signed-off-by: Pau Ruiz Safont --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b27787c719f..5c3f1cd5502 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,13 +20,11 @@ jobs: python-version: "3.x" - name: Install build dependencies - run: | - pip install build - sudo apt-get install ocaml ocaml-dune libfindlib-ocaml-dev libdune-ocaml-dev libcmdliner-ocaml-dev + run: pip install build - name: Generate python package for XenAPI run: | - ./configure --xapi_version=${{ github.ref_name }} + echo "export XAPI_VERSION=${{ github.ref_name }}" > config.mk make python - name: Store python distribution artifacts