Skip to content

Commit

Permalink
py/whl: enable abi3 wheels so that we do not need to build for every …
Browse files Browse the repository at this point in the history
…py ver
  • Loading branch information
kxxt committed Jun 27, 2023
1 parent f68f899 commit cc01401
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
windows-build:
strategy:
matrix:
pyversion: ["3.8", "3.9", "3.10", "3.11"]
pyversion: ["3.11"]
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
macos-build:
strategy:
matrix:
pyversion: ["3.8", "3.9", "3.10", "3.11"]
pyversion: ["3.11"]
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# pyversion: ["3.8", "3.9", "3.10", "3.11"]
# pyversion: ["3.11"]
# # target: [x86_64, i686]
# steps:
# - uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ uuid = { version = "1.3.0", features = [
"macro-diagnostics",
], optional = true }
xml-rs = "0.8.4"
pyo3 = { version = "0.19.0", features = ["extension-module"], optional = true }
pyo3 = { version = "0.19.0", features = ["extension-module", "abi3", "abi3-py38"], optional = true }
color-eyre = { version = "0.6.2", optional = true }
tokio-tungstenite = { version = "0.19.0", optional = true, default-features = false }
tokio = { version = "1.25.0", features = ["rt", "macros"], optional = true }
Expand Down
2 changes: 0 additions & 2 deletions merge-wheel.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ rm -rf "$DIST_DIR"
# maturin build -F python --release --bindings pyo3 -o "$DIST_DIR/dist-pyo3" $@
# maturin build -F python --release --bindings bin -o "$DIST_DIR/dist-bin" $@

ls -lah dist-pyo3

# Grab Info
file_name=$(basename $(/bin/ls dist-pyo3/*.whl))

Expand Down

0 comments on commit cc01401

Please sign in to comment.