From ad0bac9482bb1d0d17ec2575bc3f2938f6579824 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 2 Mar 2023 02:55:23 -0500 Subject: [PATCH] BLD: Pre-download Qhull license to put in wheels We couldn't work out what exactly changed to stop the license being included, so work around that by pre-downloading it. Fixes #25212 --- .github/workflows/cibuildwheel.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index b776979b67ed..82da1890660f 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -61,6 +61,14 @@ jobs: with: fetch-depth: 0 + # Something changed somewhere that prevents the downloaded-at-build-time + # licenses from being included in built wheels, so pre-download them so + # that they exist before the build and are included. + - name: Pre-download bundled licenses + run: > + curl -Lo LICENSE/LICENSE_QHULL + https://github.com/qhull/qhull/raw/2020.2/COPYING.txt + - name: Build wheels for CPython 3.11 uses: pypa/cibuildwheel@v2.12.0 env: