From c7d9d1d6d064ca94bd3c8daf09476c77d3119e68 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:32:52 +0530 Subject: [PATCH 1/5] chore: bump GitHub Actions to Node.js 24 compatible versions --- .github/workflows/ci.yml | 12 +++++----- .github/workflows/docs.yml | 2 +- .github/workflows/publish.yml | 42 +++++++++++++++++------------------ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c25e310..624b110 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" @@ -51,10 +51,10 @@ jobs: needs: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" @@ -86,10 +86,10 @@ jobs: - os: windows-latest python-version: "3.9" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3fd3921..138fc8f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: astral-sh/setup-uv@v5 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f39b804..5d49d4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: - os: ubuntu-24.04-arm target: aarch64-unknown-linux-gnu steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build wheels uses: PyO3/maturin-action@v1 @@ -30,7 +30,7 @@ jobs: dnf install -y openssl-devel perl-core perl-IPC-Cmd - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-linux-${{ matrix.target }} path: dist/*.whl @@ -45,7 +45,7 @@ jobs: - os: ubuntu-24.04-arm target: aarch64-unknown-linux-musl steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build wheels uses: PyO3/maturin-action@v1 @@ -57,7 +57,7 @@ jobs: apt-get update && apt-get install -y libssl-dev perl pkg-config - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-musllinux-${{ matrix.target }} path: dist/*.whl @@ -70,30 +70,30 @@ jobs: - x86_64-apple-darwin - aarch64-apple-darwin steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.9 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.9" - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" @@ -104,7 +104,7 @@ jobs: args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-macos-${{ matrix.target }} path: dist/*.whl @@ -116,30 +116,30 @@ jobs: include: - target: x86_64-pc-windows-msvc steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python 3.9 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.9" - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" @@ -150,7 +150,7 @@ jobs: args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-windows-${{ matrix.target }} path: dist/*.whl @@ -158,7 +158,7 @@ jobs: build-sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build sdist uses: PyO3/maturin-action@v1 @@ -167,7 +167,7 @@ jobs: args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sdist path: dist/*.tar.gz @@ -180,7 +180,7 @@ jobs: id-token: write steps: - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: dist merge-multiple: true From 593b1b538f8c651f347a03974573ab2d5a802615 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:37:53 +0530 Subject: [PATCH 2/5] fix: explicitly pass extension-module feature in publish workflow maturin args --- .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 5d49d4d..c403f74 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 manylinux: 2_28 before-script-linux: | dnf install -y openssl-devel perl-core perl-IPC-Cmd @@ -51,7 +51,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 manylinux: musllinux_1_2 before-script-linux: | apt-get update && apt-get install -y libssl-dev perl pkg-config @@ -101,7 +101,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels uses: actions/upload-artifact@v7 @@ -147,7 +147,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --features postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 + args: --release --out dist --features extension-module,postgres,redis --interpreter 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels uses: actions/upload-artifact@v7 From 28727df18ce50b6b44ae2fa7d235c308f14c8edb Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:47:22 +0530 Subject: [PATCH 3/5] chore: bump Swatinem/rust-cache to v2.8.2 for Node.js 24 compatibility --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 624b110..1b70b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: components: rustfmt, clippy - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Cargo fmt run: cargo fmt --all --check @@ -62,7 +62,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Run Rust tests run: cargo test --workspace @@ -97,7 +97,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.8.2 - name: Create virtualenv (Unix) if: runner.os != 'Windows' From f68ad77b74a671c67479d71f628765062be32154 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Wed, 11 Mar 2026 17:03:43 +0530 Subject: [PATCH 4/5] chore: pin rust-cache to node24 commit ahead of unreleased v2 tag --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b70b1e..6af68bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: components: rustfmt, clippy - name: Rust cache - uses: Swatinem/rust-cache@v2.8.2 + uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 - name: Cargo fmt run: cargo fmt --all --check @@ -62,7 +62,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2.8.2 + uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 - name: Run Rust tests run: cargo test --workspace @@ -97,7 +97,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@v2.8.2 + uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 - name: Create virtualenv (Unix) if: runner.os != 'Windows' From c2238dabc786b279e077ac7529be29a57446fe50 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Wed, 11 Mar 2026 17:04:53 +0530 Subject: [PATCH 5/5] chore: revert rust-cache to v2.8.2 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6af68bf..1b70b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: components: rustfmt, clippy - name: Rust cache - uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 + uses: Swatinem/rust-cache@v2.8.2 - name: Cargo fmt run: cargo fmt --all --check @@ -62,7 +62,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 + uses: Swatinem/rust-cache@v2.8.2 - name: Run Rust tests run: cargo test --workspace @@ -97,7 +97,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Rust cache - uses: Swatinem/rust-cache@8a02ed5e290d8afc7e587930243f3016b3223f50 # v2 + node24 + uses: Swatinem/rust-cache@v2.8.2 - name: Create virtualenv (Unix) if: runner.os != 'Windows'