From a8f66d7c496f4ad1053356863ad1097bd3e4985d Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 17:30:27 -0800 Subject: [PATCH 1/6] Include files needed to build source dist --- MANIFEST.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 2c1e001..2be6278 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,4 @@ include src/stochastic_arrow/obsidian.h -include src/stochastic_arrow/mersenne.h \ No newline at end of file +include src/stochastic_arrow/mersenne.h +include src/stochastic_arrow/arrow.pxd +include src/stochastic_arrow/obsidian.pxd \ No newline at end of file From 0c24539d395f34e0d8777d880927ed6dd996d385 Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 17:30:48 -0800 Subject: [PATCH 2/6] Generate C code in sdist --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d89c5ca..c31c1ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -124,7 +124,7 @@ jobs: - uses: actions/checkout@v4 - name: Build sdist - run: pipx run build --sdist + run: USE_CYTHON=1 pipx run build --sdist - uses: actions/upload-artifact@v4 with: From 875ab5c65a2716b3c730cc99838b45329951e2ca Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 17:32:32 -0800 Subject: [PATCH 3/6] Update changelog --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1cdd3eb..595fc0b 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,9 @@ More examples: ## Changelog +### Version 1.1.1 +* Include files to install source dist without `USE_CYTHON=1`. + ### Version 1.1.0 * Update build toolchain and automatically build/publish wheels for all major platforms and recent Python versions. From b542d621eff68f5302ce34e8a62af86b54516505 Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 18:44:35 -0800 Subject: [PATCH 4/6] Remove broken cython version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c34e725..efa310c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel", "cython==3.1.0a1; python_version=='3.13'", "cython; python_version!='3.13'", "numpy"] +requires = ["setuptools", "wheel", "cython", "numpy"] build-backend = "setuptools.build_meta" From 5bf23ce05b0986e93048631583e8753072d4b8eb Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 18:50:00 -0800 Subject: [PATCH 5/6] Update macOS runner IDs --- .github/workflows/release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c31c1ea..66feadb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,43 +59,43 @@ jobs: free_threaded_support: True # MacOS x86_64 - - os: macos-13 + - os: macos-15-intel python: 39 platform_id: macosx_x86_64 - - os: macos-13 + - os: macos-15-intel python: 310 platform_id: macosx_x86_64 - - os: macos-13 + - os: macos-15-intel python: 311 platform_id: macosx_x86_64 - - os: macos-13 + - os: macos-15-intel python: 312 platform_id: macosx_x86_64 - - os: macos-13 + - os: macos-15-intel python: 313 platform_id: macosx_x86_64 - - os: macos-13 + - os: macos-15-intel python: 313t platform_id: macosx_x86_64 free_threaded_support: True # MacOS arm64 - - os: macos-14 + - os: macos-latest python: 39 platform_id: macosx_arm64 - - os: macos-14 + - os: macos-latest python: 310 platform_id: macosx_arm64 - - os: macos-14 + - os: macos-latest python: 311 platform_id: macosx_arm64 - - os: macos-14 + - os: macos-latest python: 312 platform_id: macosx_arm64 - - os: macos-14 + - os: macos-latest python: 313 platform_id: macosx_arm64 - - os: macos-14 + - os: macos-latest python: 313t platform_id: macosx_arm64 free_threaded_support: True From 350d9dae3cc8ab7917bb460b0b22dafbb030d43a Mon Sep 17 00:00:00 2001 From: Sean Cheah Date: Mon, 9 Feb 2026 19:03:54 -0800 Subject: [PATCH 6/6] Force include arrowhead.pyx --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 2be6278..00b37fe 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include src/stochastic_arrow/obsidian.h include src/stochastic_arrow/mersenne.h include src/stochastic_arrow/arrow.pxd +include src/stochastic_arrow/arrowhead.pyx include src/stochastic_arrow/obsidian.pxd \ No newline at end of file