Skip to content

Commit

Permalink
disable windows free thread build
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 24, 2024
1 parent 862b227 commit 43d4c85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
sccache: true
manylinux: auto
- name: Build free-threaded wheels
# windows free-threading building doesn't work on windows
# https://github.com/apache/opendal/pull/5449#issuecomment-2560469190
if: ${{ runner.os != 'Windows' }}
uses: PyO3/maturin-action@v1
with:
working-directory: "bindings/python"
Expand Down
8 changes: 3 additions & 5 deletions bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ services-upyun = ["opendal/services-upyun"]
services-vercel-artifacts = ["opendal/services-vercel-artifacts"]
services-yandex-disk = ["opendal/services-yandex-disk"]
# we build cp311-abi3 and cp310 wheels now, move this to pyo3 after we drop cp310
abi3 = ["pyo3/abi3-py311"]
abi3 = ["pyo3/abi3-py311", "pyo3/generate-import-lib"]

[lib]
crate-type = ["cdylib"]
Expand All @@ -160,10 +160,8 @@ doc = false
bytes = "1.5.0"
futures = "0.3.28"
# this crate won't be published, we always use the local version
opendal = { version = ">=0", path = "../../core", features = [
"layers-blocking",
] }
pyo3 = { version = "0.23.3", features = ["generate-import-lib"] }
opendal = { version = ">=0", path = "../../core", features = ["layers-blocking"] }
pyo3 = { version = "0.23.3", features = ["extension-module"] }
pyo3-async-runtimes = { version = "0.23.0", features = ["tokio-runtime"] }
tokio = "1"

Expand Down

0 comments on commit 43d4c85

Please sign in to comment.