From 544d4dd4e205e4292cfc5753e15f212d10b86b4c Mon Sep 17 00:00:00 2001 From: d33bs Date: Thu, 27 Aug 2026 20:40:02 -0600 Subject: [PATCH 1/2] fix releases --- .github/workflows/publish-pypi.yml | 5 +++++ MANIFEST.in | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 MANIFEST.in diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 439d75d..c7853b8 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -30,3 +30,8 @@ jobs: run: uv build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + # The v0.1.4 wheel already uploaded successfully before the sdist + # was rejected for exceeding PyPI's size limit (see MANIFEST.in). + # Skip re-uploading files PyPI already has instead of erroring. + skip-existing: true diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..1936705 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,6 @@ +# setuptools-scm defaults to including every git-tracked file in the sdist. +# These directories are dev/branding/test assets, not needed to build or +# install the package, and their binary contents (video, images, tif +# fixtures) push the sdist past PyPI's 100 MB upload limit. +prune logo +prune tests/data From 393dfb012a80a554e28efbcf8707aef08757e4bb Mon Sep 17 00:00:00 2001 From: d33bs Date: Thu, 27 Aug 2026 20:41:48 -0600 Subject: [PATCH 2/2] remove --- .github/workflows/publish-pypi.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index c7853b8..439d75d 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -30,8 +30,3 @@ jobs: run: uv build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - # The v0.1.4 wheel already uploaded successfully before the sdist - # was rejected for exceeding PyPI's size limit (see MANIFEST.in). - # Skip re-uploading files PyPI already has instead of erroring. - skip-existing: true