This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 3ff6df2e chore(bindings/python): update maturin to 0.14.16 (#1777)
3ff6df2e is described below
commit 3ff6df2ebf3882b651029b24545aee2db8b2e37e
Author: messense <[email protected]>
AuthorDate: Sun Mar 26 21:02:10 2023 +0800
chore(bindings/python): update maturin to 0.14.16 (#1777)
---
bindings/python/Cargo.toml | 7 -------
bindings/python/pyproject.toml | 3 ++-
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 1ea3e404..3cd736cb 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -28,10 +28,6 @@ version = "0.30.4"
[lib]
crate-type = ["cdylib"]
doc = false
-# Per python extension module naming convention we use `_opendal`
-# instead of `opendal_python` to indicate that it's private API.
-# `_opendal_python` was also considered but it's a bit mouthful in python
context.
-name = "_opendal"
[dependencies]
chrono = { version = "0.4.24", default-features = false, features = ["std"] }
@@ -40,6 +36,3 @@ opendal = { version = "0.30", path = "../../core" }
pyo3 = { version = "0.18", features = ["chrono"] }
pyo3-asyncio = { version = "0.18", features = ["tokio-runtime"] }
tokio = "1"
-
-[package.metadata.maturin]
-name = "opendal._opendal"
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index bed528db..b68eff1b 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -17,7 +17,7 @@
[build-system]
build-backend = "maturin"
-requires = ["maturin>=0.14,<0.15"]
+requires = ["maturin>=0.14.16,<0.15"]
[project]
classifiers = [
@@ -41,5 +41,6 @@ Homepage = "https://opendal.apache.org/"
Repository = "https://github.com/apache/incubator-opendal"
[tool.maturin]
+module-name = "opendal._opendal"
features = ["pyo3/extension-module"]
python-source = "python"