You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/05/17 09:04:27 UTC
(opendal) branch use-abi3-instead created (now 66d7c10656)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch use-abi3-instead
in repository https://gitbox.apache.org/repos/asf/opendal.git
at 66d7c10656 fix(bindings/python): Use abi3 and increase MSPV to 3.11
This branch includes the following new commits:
new 66d7c10656 fix(bindings/python): Use abi3 and increase MSPV to 3.11
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: fix(bindings/python): Use abi3 and increase MSPV to 3.11
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch use-abi3-instead
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 66d7c10656925deddab592459d0deec467ed1fc2
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri May 17 17:04:02 2024 +0800
fix(bindings/python): Use abi3 and increase MSPV to 3.11
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
bindings/python/Cargo.toml | 2 +-
bindings/python/pyproject.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 8dacd9e0f0..f3b4de2c9b 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -157,7 +157,7 @@ futures = "0.3.28"
opendal = { version = "0.46.0", path = "../../core", features = [
"layers-blocking",
] }
-pyo3 = "0.20.1"
+pyo3 = { version = "0.20.1", features = ["abi3", "abi3-py311"] }
pyo3-asyncio = { version = "0.20", features = ["tokio-runtime"] }
tokio = "1"
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index e882b3dad6..f642266a82 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -31,7 +31,7 @@ name = "opendal"
readme = "README.md"
# PyO3 doesn't support python 3.13 yet.
# ref: https://github.com/apache/opendal/issues/4268
-requires-python = ">=3.7, < 3.13"
+requires-python = ">=3.11, < 3.13"
[project.optional-dependencies]
benchmark = [