From 85ecbc23119f01e7304c3624d12bcc0c79c07247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Evju?= Date: Mon, 11 Dec 2023 15:47:14 +0100 Subject: [PATCH] Fix wheel build (#287) * Follow redirects in curl * Bump python version to 3.12 when building wheels --- .github/workflows/wheels.yml | 8 ++++---- ci/linux-deps | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3f92982..b63273c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-python@v4 name: Install Python with: - python-version: "3.7" + python-version: "3.12" - name: Install cibuildwheel run: | @@ -91,7 +91,7 @@ jobs: # Enable tmate debugging of manually-triggered workflows if the input option was provided - name: Setup tmate session - if: ${{ always() && github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} + if: ${{ always() && github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }} uses: mxschmitt/action-tmate@v3 - uses: actions/upload-artifact@v2 @@ -104,10 +104,10 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python with: - python-version: "3.7" + python-version: "3.12" - name: Install dependencies run: | diff --git a/ci/linux-deps b/ci/linux-deps index 68bf210..1d0c138 100755 --- a/ci/linux-deps +++ b/ci/linux-deps @@ -10,7 +10,7 @@ git submodule init git submodule update git submodule update --init --recursive -curl -O https://www.libssh2.org/download/libssh2-1.9.0.tar.gz +curl -L -O https://www.libssh2.org/download/libssh2-1.9.0.tar.gz tar xzf libssh2-1.9.0.tar.gz cd libssh2-1.9.0 ./configure --prefix=/root @@ -19,7 +19,7 @@ make install cd .. rm -rf libssh2-1.9.0 -curl -O https://curl.se/download/curl-7.73.0.tar.gz +curl -L -O https://curl.se/download/curl-7.73.0.tar.gz tar xzf curl-7.73.0.tar.gz cd curl-7.73.0 ./configure --with-libssh2 --prefix=/root