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 2023/10/17 16:40:57 UTC
[incubator-opendal] branch main updated: feat(bindings/python): build and publish aarch64 and armv7l wheels (#3325)
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 ec47377f7 feat(bindings/python): build and publish aarch64 and armv7l wheels (#3325)
ec47377f7 is described below
commit ec47377f7d112219f63601f78049687c70282d19
Author: messense <me...@icloud.com>
AuthorDate: Wed Oct 18 00:40:53 2023 +0800
feat(bindings/python): build and publish aarch64 and armv7l wheels (#3325)
---
.github/workflows/bindings_python.yml | 4 ++
Cargo.lock | 89 +++++++++++++++--------------------
core/Cargo.toml | 2 +-
3 files changed, 44 insertions(+), 51 deletions(-)
diff --git a/.github/workflows/bindings_python.yml b/.github/workflows/bindings_python.yml
index c3cb29e00..56bfbea68 100644
--- a/.github/workflows/bindings_python.yml
+++ b/.github/workflows/bindings_python.yml
@@ -78,10 +78,14 @@ jobs:
linux:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
+ strategy:
+ matrix:
+ target: [x86_64, aarch64, armv7l]
steps:
- uses: actions/checkout@v4
- uses: PyO3/maturin-action@v1
with:
+ target: ${{ matrix.target }}
manylinux: auto
working-directory: "bindings/python"
command: build
diff --git a/Cargo.lock b/Cargo.lock
index edfca823d..4e993a8b0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -411,7 +411,7 @@ dependencies = [
"base64 0.21.4",
"rand 0.8.5",
"regex",
- "ring 0.16.20",
+ "ring",
"serde",
"serde_json",
"tracing",
@@ -1585,7 +1585,7 @@ dependencies = [
"futures",
"futures-util",
"opendal",
- "quick-xml",
+ "quick-xml 0.30.0",
"serde",
"tokio",
]
@@ -2900,13 +2900,13 @@ dependencies = [
[[package]]
name = "jsonwebtoken"
-version = "9.0.0"
+version = "8.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e863f95209c79b9b8b001c4b03463385f890a765dbc4e0802cb8d4177e3e410"
+checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378"
dependencies = [
"base64 0.21.4",
- "pem 3.0.2",
- "ring 0.17.4",
+ "pem 1.1.1",
+ "ring",
"serde",
"serde_json",
"simple_asn1",
@@ -3880,7 +3880,7 @@ dependencies = [
"futures",
"futures-util",
"opendal",
- "quick-xml",
+ "quick-xml 0.30.0",
"serde",
"tokio",
"toml 0.7.8",
@@ -4094,7 +4094,7 @@ dependencies = [
"prometheus",
"prometheus-client",
"prost",
- "quick-xml",
+ "quick-xml 0.30.0",
"r2d2",
"rand 0.8.5",
"redb",
@@ -4649,19 +4649,18 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]]
name = "pem"
-version = "2.0.1"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b13fe415cdf3c8e44518e18a7c95a13431d9bdf6d15367d82b23c377fdd441a"
+checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8"
dependencies = [
- "base64 0.21.4",
- "serde",
+ "base64 0.13.1",
]
[[package]]
name = "pem"
-version = "3.0.2"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3163d2912b7c3b52d651a055f2c7eec9ba5cd22d26ef75b8dd3a59980b185923"
+checksum = "6b13fe415cdf3c8e44518e18a7c95a13431d9bdf6d15367d82b23c377fdd441a"
dependencies = [
"base64 0.21.4",
"serde",
@@ -5180,7 +5179,7 @@ dependencies = [
"indoc",
"libc",
"memoffset",
- "parking_lot 0.12.1",
+ "parking_lot 0.11.2",
"pyo3-build-config",
"pyo3-ffi",
"pyo3-macros",
@@ -5281,6 +5280,16 @@ version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
+[[package]]
+name = "quick-xml"
+version = "0.29.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81b9228215d82c7b61490fec1de287136b5de6f5700f6e58ea9ad61a7964ca51"
+dependencies = [
+ "memchr",
+ "serde",
+]
+
[[package]]
name = "quick-xml"
version = "0.30.0"
@@ -5593,9 +5602,9 @@ dependencies = [
[[package]]
name = "reqsign"
-version = "0.14.2"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d64673dc76895d04d102f9fafb83039d79e9d44c51e83d1d271671ac9263821"
+checksum = "3228e570df74d69d3d3236a71371f1edd748a3e4eb728ea1f29d403bc10fc727"
dependencies = [
"anyhow",
"async-trait",
@@ -5610,7 +5619,7 @@ dependencies = [
"log",
"once_cell",
"percent-encoding",
- "quick-xml",
+ "quick-xml 0.29.0",
"rand 0.8.5",
"reqwest",
"rsa",
@@ -5694,25 +5703,11 @@ dependencies = [
"libc",
"once_cell",
"spin 0.5.2",
- "untrusted 0.7.1",
+ "untrusted",
"web-sys",
"winapi",
]
-[[package]]
-name = "ring"
-version = "0.17.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a"
-dependencies = [
- "cc",
- "getrandom 0.2.10",
- "libc",
- "spin 0.9.8",
- "untrusted 0.9.0",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "rkyv"
version = "0.7.42"
@@ -5883,7 +5878,7 @@ checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
dependencies = [
"base64 0.13.1",
"log",
- "ring 0.16.20",
+ "ring",
"sct 0.6.1",
"webpki",
]
@@ -5895,7 +5890,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8"
dependencies = [
"log",
- "ring 0.16.20",
+ "ring",
"rustls-webpki",
"sct 0.7.0",
]
@@ -5927,8 +5922,8 @@ version = "0.101.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe"
dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
+ "ring",
+ "untrusted",
]
[[package]]
@@ -6000,8 +5995,8 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
+ "ring",
+ "untrusted",
]
[[package]]
@@ -6010,8 +6005,8 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
+ "ring",
+ "untrusted",
]
[[package]]
@@ -7183,7 +7178,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if",
- "rand 0.8.5",
+ "rand 0.7.3",
"static_assertions",
]
@@ -7253,12 +7248,6 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
-[[package]]
-name = "untrusted"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
-
[[package]]
name = "ureq"
version = "2.8.0"
@@ -7498,8 +7487,8 @@ version = "0.21.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
dependencies = [
- "ring 0.16.20",
- "untrusted 0.7.1",
+ "ring",
+ "untrusted",
]
[[package]]
diff --git a/core/Cargo.toml b/core/Cargo.toml
index e2032560e..ba4c955c5 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -265,7 +265,7 @@ redis = { version = "0.23.1", features = [
"tokio-comp",
"connection-manager",
], optional = true }
-reqsign = { version = "0.14.2", default-features = false, optional = true }
+reqsign = { version = "0.14.1", default-features = false, optional = true }
reqwest = { version = "0.11.18", features = [
"stream",
], default-features = false }