From 8a3e30fa249016bc2d7a336e7472b57ecd2d10a3 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 4 Jun 2024 15:06:06 +0530 Subject: [PATCH 1/3] Update manylinux version for linux build workflow I previously incorrectly changed the macos workflow --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 78f300c..b166f74 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -35,6 +35,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} + manylinux: '2_28' args: --release --out dist --find-interpreter sccache: 'true' - name: Upload wheels @@ -80,7 +81,6 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - manylinux: '2_28' args: --release --out dist --find-interpreter sccache: 'true' - name: Upload wheels From 6fbedec22644945682f4d1f7cf2d6d692c40f54d Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 4 Jun 2024 15:12:48 +0530 Subject: [PATCH 2/3] Workaround pip bug in manylinux See https://github.com/PyO3/maturin-action/issues/249 --- .github/workflows/python.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b166f74..b87e9b8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -35,6 +35,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} + before-script-linux: 'python3 -m pip --version || python3 -m ensurepip' manylinux: '2_28' args: --release --out dist --find-interpreter sccache: 'true' From e1b8cada846b3b03a9084f513172f71ae7fc21a8 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:01:05 +0530 Subject: [PATCH 3/3] Add perl-IPC-Cmd for openssl build. --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b87e9b8..316780a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -35,7 +35,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - before-script-linux: 'python3 -m pip --version || python3 -m ensurepip' + before-script-linux: 'dnf install -y perl-IPC-Cmd && (python3 -m pip --version || python3 -m ensurepip)' manylinux: '2_28' args: --release --out dist --find-interpreter sccache: 'true'