You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by me...@apache.org on 2023/05/30 08:23:02 UTC

[incubator-opendal] 01/01: chore(bindings/python): upgrade maturin to 1.0

This is an automated email from the ASF dual-hosted git repository.

messense pushed a commit to branch maturin-1.0
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 91f213740d0a977dc1d79cdf7ad05296f85f2ee8
Author: messense <me...@icloud.com>
AuthorDate: Tue May 30 08:22:02 2023 +0000

    chore(bindings/python): upgrade maturin to 1.0
    
    Signed-off-by: messense <me...@icloud.com>
---
 .github/workflows/bindings_python.yml | 3 ++-
 bindings/python/pyproject.toml        | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bindings_python.yml b/.github/workflows/bindings_python.yml
index d69a90c7..2636ed29 100644
--- a/.github/workflows/bindings_python.yml
+++ b/.github/workflows/bindings_python.yml
@@ -99,7 +99,8 @@ jobs:
         with:
           working-directory: "bindings/python"
           command: build
-          args: --release -o dist --universal2
+          target: universal2-apple-darwin
+          args: --release -o dist
       - name: Upload wheels
         uses: actions/upload-artifact@v3
         with:
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index 46cf923a..421ba658 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -17,7 +17,7 @@
 
 [build-system]
 build-backend = "maturin"
-requires = ["maturin>=0.14.16,<0.15"]
+requires = ["maturin>=1.0,<2.0"]
 
 [project]
 classifiers = [