From 2969a28c199ac9f0410afe094c42bce281d61281 Mon Sep 17 00:00:00 2001 From: Thibaut R Date: Fri, 31 May 2024 15:40:10 +0200 Subject: [PATCH] Replaced Python config removal by venv creation --- .github/workflows/test-feature-branch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-feature-branch.yml b/.github/workflows/test-feature-branch.yml index 61a4e6431e83..c662d2722e1e 100644 --- a/.github/workflows/test-feature-branch.yml +++ b/.github/workflows/test-feature-branch.yml @@ -61,8 +61,8 @@ jobs: - name: Build into Alpine run: | - export python_short=$(python -V | awk '{ print $2 }' | awk -F. '{ print $1"."$2}') - sudo mv /usr/lib/python$python_short/EXTERNALLY-MANAGED /usr/lib/python$python_short/EXTERNALLY-MANAGED.old + python3 -m venv .venv + source .venv/bin/activate cd opencti-platform/opencti-front yarn install yarn build