From fc1d39c5f205e178dbe51c62a06ea0deeff9dccc Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Sat, 26 Nov 2022 18:24:20 +0000 Subject: [PATCH] allow fail auditwheel --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 515fad64d..be3c52c3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -79,7 +79,7 @@ build_dep_wheels: - | for wheel in wheelhouse/* ; do echo "Correcting tags for $wheel" - corrected_tag="$(python3 -c "import auditwheel.wheel_abi; print(auditwheel.wheel_abi.analyze_wheel_abi('$wheel').overall_tag)")" + corrected_tag="$(python3 -c "import auditwheel.wheel_abi; print(auditwheel.wheel_abi.analyze_wheel_abi('$wheel').overall_tag)" || true)" echo "New tag: $corrected_tag" [[ "$wheel" = "*$corrected_tag*" ]] && { echo 'Tag already correct or good tag is unknown - skipping.' ; continue ; } @@ -92,7 +92,7 @@ build_dep_wheels: # prepare musllinux universal wheels - | for wheel in wheelhouse/* ; do - auditwheel repair --strip "$wheel" + auditwheel repair --strip "$wheel" || true done # remove basic wheels as we have universal wheels now - rm -f wheelhouse/*-linux*.whl wheelhouse/*.linux*.whl