From 925c9421db26f5ce573580184ee65839823e9c11 Mon Sep 17 00:00:00 2001 From: Matthias Goerner <1239022+unhyperbolic@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:58:38 -0800 Subject: [PATCH] CI build cirrus: using pipx to avoid error: externally-managed-environment --- .cirrus.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 9ebea004..cee74be6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -18,12 +18,10 @@ cirrus_wheels_macos_arm64_task: pip install git+https://github.com/3-manifolds/snappy_manifolds && pip install git+https://github.com/3-manifolds/Spherogram CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl - install_pre_requirements_script: - - brew install python3 + install_pipx: + - brew install python3 pipx - python3 --version - install_cibuildwheel_script: - - python3 -m pip install cibuildwheel==2.15.0 run_cibuildwheel_script: - - python3 -m cibuildwheel --output-dir wheelhouse + - pipx run cibuildwheel --output-dir wheelhouse wheels_artifacts: path: "wheelhouse/*"