From 665558f3d7adc3b3082834a62608b84f3824e95a Mon Sep 17 00:00:00 2001 From: Jacob Callahan Date: Sat, 12 Oct 2024 16:23:47 -0400 Subject: [PATCH] Switch to maturin main Maturing currently can't auto-detect python 3.13 from the environment in the v1 release. Until that change has been added to v1, or a future release, we need to switch directly to the main branch. --- .github/workflows/build_and_test.yml | 10 +++++----- .github/workflows/release.yml | 12 ++++++------ .github/workflows/weekly_build_and_test.yml | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 00b4155..fce6105 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build sdist - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: command: sdist args: --out dist @@ -74,7 +74,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" OPENSSL_NO_VENDOR: 1 @@ -131,7 +131,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" with: @@ -184,7 +184,7 @@ jobs: allow-prereleases: true architecture: ${{ matrix.platform.target }} - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: OPENSSL_DIR: C:\Program Files\OpenSSL-Win64 OPENSSL_STATIC: 1 @@ -220,7 +220,7 @@ jobs: - name: Set OPENSSL_DIR run: echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: target: ${{ matrix.target }} args: --release --out dist --find-interpreter diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acbe2e4..946c7eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build sdist - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: command: sdist args: --out dist @@ -66,7 +66,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" OPENSSL_NO_VENDOR: 1 @@ -116,7 +116,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" with: @@ -162,7 +162,7 @@ jobs: allow-prereleases: true architecture: ${{ matrix.platform.target }} - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: OPENSSL_DIR: C:\Program Files\OpenSSL-Win64 OPENSSL_STATIC: 1 @@ -197,7 +197,7 @@ jobs: - name: Set OPENSSL_DIR run: echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: target: ${{ matrix.target }} args: --release --out dist --find-interpreter @@ -225,7 +225,7 @@ jobs: subject-path: 'wheels-*/*' - name: Publish to PyPI if: "startsWith(github.ref, 'refs/tags/')" - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} with: diff --git a/.github/workflows/weekly_build_and_test.yml b/.github/workflows/weekly_build_and_test.yml index 0089101..ee1cd47 100644 --- a/.github/workflows/weekly_build_and_test.yml +++ b/.github/workflows/weekly_build_and_test.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build sdist - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: command: sdist args: --out dist @@ -72,7 +72,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" OPENSSL_NO_VENDOR: 1 @@ -129,7 +129,7 @@ jobs: check-latest: true allow-prereleases: true - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: PKG_CONFIG_PATH: "/usr/share/miniconda/lib/pkgconfig/" with: @@ -182,7 +182,7 @@ jobs: allow-prereleases: true architecture: ${{ matrix.platform.target }} - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master env: OPENSSL_DIR: C:\Program Files\OpenSSL-Win64 OPENSSL_STATIC: 1 @@ -218,7 +218,7 @@ jobs: - name: Set OPENSSL_DIR run: echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV - name: Build wheels - uses: PyO3/maturin-action@v1 + uses: PyO3/maturin-action@master with: target: ${{ matrix.target }} args: --release --out dist --find-interpreter