From a6a36109fd11ca135d972be041039ffaf0f18aa0 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sat, 16 Sep 2023 15:45:37 +0400 Subject: [PATCH 1/2] Fixed maturin builds. Signed-off-by: Pavel Kirilin --- .github/workflows/release.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5ec77ff..034d2db 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,17 +19,14 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.11' - - name: Instal OpenSSL - run: sudo apt-get update -y && sudo apt-get install -y libssl-dev openssl pkg-config libudev-dev librust-openssl-sys-dev - - name: Check perl IPC - run: perl -e 'use IPC::Cmd' - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} args: --release --out dist - sccache: 'true' manylinux: auto + before-script-linux: | + sudo apt-get update -y && sudo apt-get install -y libssl-dev openssl pkg-config - name: Upload wheels uses: actions/upload-artifact@v3 with: @@ -140,13 +137,12 @@ jobs: python-version: '3.11' architecture: x64 - name: Instal OpenSSL - run: sudo apt-get update && sudo apt-get install libssl-dev openssl libipc-run-perl + run: sudo apt-get update && sudo apt-get install libssl-dev openssl - name: Build wheels uses: messense/maturin-action@v1 with: target: ${{ matrix.target }} args: --release --out dist - sccache: 'true' manylinux: musllinux_1_2 - name: Upload wheels uses: actions/upload-artifact@v3 From aaa20fe3ba1bfaadf2907074ee18031264c6af37 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Sat, 16 Sep 2023 15:46:05 +0400 Subject: [PATCH 2/2] Removed explicit openssl-sys. Signed-off-by: Pavel Kirilin --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 640ae6c..f300149 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ chrono = "0.4.26" eq-float = "0.1.0" log = "0.4.20" openssl = { version = "0.10.57", features = ["vendored"] } -openssl-sys = { version = "0.9.93", features = ["vendored"] } pyo3 = { version = "0.19.2", features = [ "auto-initialize", "abi3-py38",