From ecdc38630b95ef59ea935cc358bd855463175bdd Mon Sep 17 00:00:00 2001 From: Bas Schoenmaeckers Date: Tue, 9 Sep 2025 14:36:08 +0200 Subject: [PATCH 1/2] feat(release): Enable sdist artifacts --- .github/workflows/wheels.yml | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f89240bd..79dd7f60 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -183,26 +183,26 @@ jobs: name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.module }} path: dist - # sdist: - # runs-on: ubuntu-latest - # strategy: - # matrix: - # module: - # - arro3-core - # - arro3-compute - # - arro3-io - # steps: - # - uses: actions/checkout@v4 - # - name: Build sdist - # uses: PyO3/maturin-action@v1 - # with: - # command: sdist - # args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml - # - name: Upload sdist - # uses: actions/upload-artifact@v4 - # with: - # name: wheels-sdist-${{ matrix.module }} - # path: dist + sdist: + runs-on: ubuntu-latest + strategy: + matrix: + module: + - arro3-core + - arro3-compute + - arro3-io + steps: + - uses: actions/checkout@v4 + - name: Build sdist + uses: PyO3/maturin-action@v1 + with: + command: sdist + args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml + - name: Upload sdist + uses: actions/upload-artifact@v4 + with: + name: wheels-sdist-${{ matrix.module }} + path: dist release: runs-on: ubuntu-latest From 85d817cba0d7a73f86b13afb207f0e6fd5571514 Mon Sep 17 00:00:00 2001 From: Bas Schoenmaeckers Date: Tue, 9 Sep 2025 16:55:53 +0200 Subject: [PATCH 2/2] Test install sdist --- .github/workflows/wheels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 79dd7f60..832a4fd6 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -198,6 +198,9 @@ jobs: with: command: sdist args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml + - name: Test sdist + run: | + python -m pip install dist/*.tar.gz - name: Upload sdist uses: actions/upload-artifact@v4 with: