Skip to content

Commit

Permalink
Fix wheel build (#287)
Browse files Browse the repository at this point in the history
* Follow redirects in curl

* Bump python version to 3.12 when building wheels
  • Loading branch information
oyvinev authored Dec 11, 2023
1 parent eca1d90 commit 85ecbc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions ci/linux-deps
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 85ecbc2

Please sign in to comment.