Skip to content

Commit

Permalink
Refactor cibuildwheel.yml in line with latest docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Oct 24, 2023
1 parent 1c3a21c commit 3ab0081
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os: [ubuntu-20.04, windows-2019, macOS-11]
env:
# Seems to have trouble parsing our setup.py, thus:
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7"
# Install numpy with a wheel (do NOT compile it):
CIBW_BEFORE_BUILD: "pip install --only-binary :all: -r requirements.txt"
# There are/were no numpy wheels for these:
Expand All @@ -20,7 +20,7 @@ jobs:
CIBW_TEST_COMMAND: "python {package}/Tests/test_Cluster.py"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Optional
submodules: true # Optional, use if you have submodules
Expand All @@ -33,11 +33,12 @@ jobs:
git checkout biopython-181
cd ..
# Could not work out how to give package path with
# uses: pypa/[email protected]
- name: Build wheels
run: |
pipx run cibuildwheel==2.16.2 --output-dir wheelhouse biopython
uses: pypa/[email protected]
with:
package-dir biopython
output-dir: wheelhouse

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 3ab0081

Please sign in to comment.