From 5dbdfb2d4cb97704beba43e08994f392a53f786b Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Sun, 27 Nov 2022 09:48:07 +0000 Subject: [PATCH] install auditwheel inside venv --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19191aa27..569cb6873 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,10 +60,9 @@ stages: poetry py3-pip patchelf - - pip install auditwheel - cd api ; poetry export --without-hashes > ../requirements.txt ; cd .. - python -m venv venv - - venv/bin/pip install --upgrade pip wheel + - venv/bin/pip install --upgrade pip wheel auditwheel - venv/bin/pip debug --verbose script: # build basic wheels @@ -89,7 +88,7 @@ stages: # prepare musllinux universal wheels - | for wheel in wheelhouse/* ; do - auditwheel repair --strip "$wheel" || true + venv/bin/auditwheel repair --strip "$wheel" || true done # remove basic wheels as we have universal wheels now - rm -f wheelhouse/*-linux*.whl wheelhouse/*.linux*.whl