From 103399a57ca2958c2cfb7faa7d7884575c84a313 Mon Sep 17 00:00:00 2001 From: Sunli Date: Sat, 2 Mar 2024 20:07:20 +0800 Subject: [PATCH] Release 1.0.13 longport@1.0.13 longport-c@1.0.13 longport-c-macros@1.0.13 longport-candlesticks@1.0.13 longport-httpcli@1.0.13 longport-java@1.0.13 longport-java-macros@1.0.13 longport-nodejs@1.0.13 longport-nodejs-macros@1.0.13 longport-proto@1.0.13 longport-python@1.0.13 longport-python-macros@1.0.13 longport-wscli@1.0.13 Generated by cargo-workspaces --- .github/workflows/docs.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- c/Cargo.toml | 2 +- c/crates/macros/Cargo.toml | 2 +- java/Cargo.toml | 2 +- java/crates/macros/Cargo.toml | 2 +- nodejs/Cargo.toml | 2 +- nodejs/crates/macros/Cargo.toml | 2 +- python/Cargo.toml | 2 +- python/crates/macros/Cargo.toml | 2 +- rust/Cargo.toml | 10 +++++----- rust/crates/candlesticks/Cargo.toml | 2 +- rust/crates/httpclient/Cargo.toml | 2 +- rust/crates/proto/Cargo.toml | 2 +- rust/crates/wsclient/Cargo.toml | 4 ++-- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 47cecb8d5..9edd08504 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,18 +37,18 @@ jobs: sudo apt-get update sudo apt-get install -y doxygen - - name: Build Rust docs + - name: Build Rust doc run: cargo doc -p longport --no-deps - name: Build Python wheels uses: PyO3/maturin-action@v1 with: target: "x86_64" manylinux: auto - args: -i 3.9 --release --out dist --no-sdist -m python/Cargo.toml + args: -i python3.9 --release --out dist -m python/Cargo.toml - name: Install built wheel run: | pip install longport --no-index --find-links dist --force-reinstall - python -c "import longport" + python3.9 -c "import longport" - name: Build Python docs run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 340ca254e..55926ba49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,7 +103,7 @@ jobs: if: ${{ matrix.python.universal2 }} uses: PyO3/maturin-action@v1 with: - args: -i python --release --universal2 --out dist -m python/Cargo.toml + args: -i python --release --target universal2-apple-darwin --out dist -m python/Cargo.toml - name: Install built wheel - universal2 if: ${{ matrix.python.universal2 }} run: | @@ -215,7 +215,7 @@ jobs: apt-get install -y --no-install-recommends python3 python3-venv software-properties-common add-apt-repository ppa:deadsnakes/ppa apt-get update - apt-get install -y curl python{{ matrix.python-version }}-venv + apt-get install -y curl python${{ matrix.python-version }}-venv run: | ls -lrth /artifacts PYTHON=python${{ matrix.python-version }} diff --git a/c/Cargo.toml b/c/Cargo.toml index b8b50f220..5198ced77 100644 --- a/c/Cargo.toml +++ b/c/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-c" -version = "1.0.12" +version = "1.0.13" description = "LongPort OpenAPI SDK for C" homepage = "https://open.longportapp.com/en/" readme = "README.md" diff --git a/c/crates/macros/Cargo.toml b/c/crates/macros/Cargo.toml index aa6bdd6d6..bcd6f656d 100644 --- a/c/crates/macros/Cargo.toml +++ b/c/crates/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "longport-c-macros" -version = "1.0.12" +version = "1.0.13" edition = "2021" [lib] diff --git a/java/Cargo.toml b/java/Cargo.toml index 8917a68a1..ea6c09f49 100644 --- a/java/Cargo.toml +++ b/java/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-java" -version = "1.0.12" +version = "1.0.13" [lib] crate-type = ["cdylib"] diff --git a/java/crates/macros/Cargo.toml b/java/crates/macros/Cargo.toml index cedbe237a..1619d65c0 100644 --- a/java/crates/macros/Cargo.toml +++ b/java/crates/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "longport-java-macros" -version = "1.0.12" +version = "1.0.13" edition = "2021" [lib] diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml index b84346b2b..97adaac31 100644 --- a/nodejs/Cargo.toml +++ b/nodejs/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-nodejs" -version = "1.0.12" +version = "1.0.13" [lib] crate-type = ["cdylib"] diff --git a/nodejs/crates/macros/Cargo.toml b/nodejs/crates/macros/Cargo.toml index 055d668d1..01e3e3320 100644 --- a/nodejs/crates/macros/Cargo.toml +++ b/nodejs/crates/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "longport-nodejs-macros" -version = "1.0.12" +version = "1.0.13" edition = "2021" [lib] diff --git a/python/Cargo.toml b/python/Cargo.toml index 8a1071029..4f231042e 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-python" -version = "1.0.12" +version = "1.0.13" description = "LongPort OpenAPI SDK for Python" homepage = "https://open.longportapp.com/en/" readme = "README.md" diff --git a/python/crates/macros/Cargo.toml b/python/crates/macros/Cargo.toml index 6f54b218d..d16fb3e1c 100644 --- a/python/crates/macros/Cargo.toml +++ b/python/crates/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "longport-python-macros" -version = "1.0.12" +version = "1.0.13" edition = "2021" [lib] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 5f6ee475e..9cc146fe7 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport" -version = "1.0.12" +version = "1.0.13" description = "LongPort OpenAPI SDK for Rust" homepage = "https://open.longportapp.com/en/" readme = "README.md" @@ -14,10 +14,10 @@ categories = ["api-bindings"] blocking = ["flume"] [dependencies] -longport-wscli = { path = "crates/wsclient", version = "1.0.12" } -longport-httpcli = { path = "crates/httpclient", version = "1.0.12" } -longport-proto = { path = "crates/proto", version = "1.0.12" } -longport-candlesticks = { path = "crates/candlesticks", version = "1.0.12" } +longport-wscli = { path = "crates/wsclient", version = "1.0.13" } +longport-httpcli = { path = "crates/httpclient", version = "1.0.13" } +longport-proto = { path = "crates/proto", version = "1.0.13" } +longport-candlesticks = { path = "crates/candlesticks", version = "1.0.13" } tokio = { version = "1.18.2", features = [ "time", diff --git a/rust/crates/candlesticks/Cargo.toml b/rust/crates/candlesticks/Cargo.toml index 97ab52164..a1badec3d 100644 --- a/rust/crates/candlesticks/Cargo.toml +++ b/rust/crates/candlesticks/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-candlesticks" -version = "1.0.12" +version = "1.0.13" description = "LongPort candlestick utils for Rust" license = "MIT OR Apache-2.0" diff --git a/rust/crates/httpclient/Cargo.toml b/rust/crates/httpclient/Cargo.toml index 84e06779c..2ab08721b 100644 --- a/rust/crates/httpclient/Cargo.toml +++ b/rust/crates/httpclient/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-httpcli" -version = "1.0.12" +version = "1.0.13" description = "LongPort HTTP SDK for Rust" license = "MIT OR Apache-2.0" diff --git a/rust/crates/proto/Cargo.toml b/rust/crates/proto/Cargo.toml index 447ce2f0e..bed01be1d 100644 --- a/rust/crates/proto/Cargo.toml +++ b/rust/crates/proto/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "longport-proto" -version = "1.0.12" +version = "1.0.13" description = "LongPort Protocol" license = "MIT OR Apache-2.0" diff --git a/rust/crates/wsclient/Cargo.toml b/rust/crates/wsclient/Cargo.toml index c332d4318..a1a588d5a 100644 --- a/rust/crates/wsclient/Cargo.toml +++ b/rust/crates/wsclient/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "longport-wscli" -version = "1.0.12" +version = "1.0.13" edition = "2021" description = "LongPort Websocket SDK for Rust" license = "MIT OR Apache-2.0" [dependencies] -longport-proto = { path = "../proto", version = "1.0.12" } +longport-proto = { path = "../proto", version = "1.0.13" } tokio = { version = "1.18.2", features = [ "time",