From 1016c10db5b2c86937d9fd1526a13a518315e8a1 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Sat, 19 Apr 2025 07:06:53 -0600 Subject: [PATCH 1/2] fix: re-add sdist We need it for a conda build --- .github/workflows/pypi.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index e60eca6..bc10db7 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -80,11 +80,27 @@ jobs: name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.maturin.name }} path: dist + sdist: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build sdist + uses: PyO3/maturin-action@v1 + with: + command: sdist + args: --out dist + - name: Upload sdist + uses: actions/upload-artifact@v4 + with: + name: wheels-sdist + path: dist + release: name: Release runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} needs: + - sdist - linux - macos environment: From 043b3284da4f3b3992b5c804c3fc74f2ca6d8234 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Sat, 19 Apr 2025 07:07:47 -0600 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2af174..455ba30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Source distribution to PyPI publish ([#92](https://github.com/stac-utils/rustac-py/pull/92)) + ## [0.6.0] - 2025-04-18 > [!NOTE]