Skip to content

Commit

Permalink
chore(bindings/python): update maturin to 0.14.16 (#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Mar 26, 2023
1 parent 970e3bf commit 3ff6df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand All @@ -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"
3 changes: 2 additions & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

[build-system]
build-backend = "maturin"
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=0.14.16,<0.15"]

[project]
classifiers = [
Expand All @@ -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"

0 comments on commit 3ff6df2

Please sign in to comment.