From e7966bae6f369eb4115cfd9e8bc4ca6f7509b000 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Thu, 13 Nov 2025 19:30:41 +0100 Subject: [PATCH] fix(action): update dependency installation to build and install from wheels --- .github/actions/bec_install/action.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/actions/bec_install/action.yml b/.github/actions/bec_install/action.yml index 8010d93a3..d7c060943 100644 --- a/.github/actions/bec_install/action.yml +++ b/.github/actions/bec_install/action.yml @@ -39,8 +39,16 @@ runs: - name: Install Python dependencies shell: bash run: | - pip install uv - uv pip install --system -e ./ophyd_devices[dev] - uv pip install --system -e ./bec/bec_lib[dev] - uv pip install --system -e ./bec/bec_ipython_client[dev] - uv pip install --system -e ./bec/bec_server[dev] + pip install uv build + + # Build wheels for each package + python -m build --wheel ./ophyd_devices + python -m build --wheel ./bec/bec_lib + python -m build --wheel ./bec/bec_ipython_client + python -m build --wheel ./bec/bec_server + + # Install from wheels with dev dependencies + uv pip install --system ./ophyd_devices[dev] ./ophyd_devices/dist/*.whl + uv pip install --system ./bec/bec_lib[dev] ./bec/bec_lib/dist/*.whl + uv pip install --system ./bec/bec_ipython_client[dev] ./bec/bec_ipython_client/dist/*.whl + uv pip install --system ./bec/bec_server[dev] ./bec/bec_server/dist/*.whl