Skip to content

Commit 4e6ef0b

Browse files
Kosthiclaude
andcommitted
fix(ci): remove sdist from PyPI publish to avoid 400 error
PyO3/maturin wheels cover all platforms; sdist requires a local Rust toolchain and was causing 400 Bad Request during upload. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1eb9549 commit 4e6ef0b

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
inputs:
66
upload-artifacts:
7-
description: "Upload wheel and sdist artifacts for publishing"
7+
description: "Upload wheel artifacts for publishing"
88
required: false
99
default: false
1010
type: boolean
@@ -82,18 +82,3 @@ jobs:
8282
with:
8383
name: wheels-${{ matrix.target }}
8484
path: dist/
85-
86-
sdist:
87-
if: inputs.upload-artifacts
88-
runs-on: ubuntu-latest
89-
steps:
90-
- uses: actions/checkout@v4
91-
- name: Build sdist
92-
uses: PyO3/maturin-action@v1
93-
with:
94-
command: sdist
95-
args: --out dist
96-
- uses: actions/upload-artifact@v4
97-
with:
98-
name: sdist
99-
path: dist/

0 commit comments

Comments
 (0)