From e1949541331105b954e7c2a646266c3f245b895e Mon Sep 17 00:00:00 2001 From: joseph-sentry <136376984+joseph-sentry@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:26:16 -0400 Subject: [PATCH 1/3] build: try adding -i to solve missing python installation --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a30ab5..ea4fd52 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist + args: --release --out dist -i 3.10 sccache: 'true' manylinux: auto - name: Upload wheels From b4cea068367ca457d716cb86b70b2e283cbc9e39 Mon Sep 17 00:00:00 2001 From: joseph-sentry <136376984+joseph-sentry@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:39:33 -0400 Subject: [PATCH 2/3] build: fix can't find interpreter issue on linux --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ea4fd52..a738be1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist -i 3.10 + args: --release --out dist --find-interpreter sccache: 'true' manylinux: auto - name: Upload wheels @@ -54,7 +54,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist + args: --release --out dist --find-interpreter sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v3 @@ -76,7 +76,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist + args: --release --out dist --find-interpreter sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v3 @@ -92,7 +92,7 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist + args: --out dist --find-interpreter - name: Upload sdist uses: actions/upload-artifact@v3 with: From efa197cc4d3f87ac1e3786feb8fa64d0f59e93b9 Mon Sep 17 00:00:00 2001 From: joseph-sentry <136376984+joseph-sentry@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:53:07 -0400 Subject: [PATCH 3/3] build: remove --find-interpreter from the sdist job --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a738be1..f680954 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -92,7 +92,7 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist --find-interpreter + args: --out dist - name: Upload sdist uses: actions/upload-artifact@v3 with: