From feff33d0b5fc8c966e6af158733f18690d33ad88 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Fri, 3 Mar 2023 09:34:47 -0600 Subject: [PATCH] Backport PR #25364: BLD: Pre-download Qhull license to put in wheels --- .github/workflows/cibuildwheel.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index e192c9db1e2d..c713a347f454 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: