Skip to content

Commit

Permalink
Switch to abi3 wheels. (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss authored Dec 3, 2021
1 parent 37363ad commit 54da209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python: [3.7, 3.8, 3.9]
python: [3.7]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
ls target/wheels/
# this mess puts the name of the `.whl` file into `$WHEEL_PATH`
# remove the dot, use the `glob` lib to grab the file from the directory
WHEEL_PATH=$(echo ${{ matrix.python }} | python -c 'DOTLESS=input().replace(".", ""); import glob; print(" ".join(glob.glob("target/wheels/clvm_rs-*-cp%s-cp*.whl" % DOTLESS)))' )
WHEEL_PATH=$(echo ${{ matrix.python }} | python -c 'DOTLESS=input().replace(".", ""); import glob; print(" ".join(glob.glob("target/wheels/clvm_rs-*-cp%s-abi3-*.whl" % DOTLESS)))' )
echo ${WHEEL_PATH}
pip install ${WHEEL_PATH}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ wasm-bindgen = "=0.2.75"
wasm-bindgen-test = "=0.3.25"

[target.'cfg(not(target_family="wasm"))'.dependencies]
pyo3 = "=0.14.2"
pyo3 = { version = "=0.14.2", features = ["abi3-py37"] }

0 comments on commit 54da209

Please sign in to comment.