Skip to content

Put the license at the sdist root and check metadata before upload - #38

Merged
GirlBossRush merged 1 commit into
mainfrom
sdist-license
Oct 28, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
sdist-license

Conversation

@GirlBossRush

Copy link
Copy Markdown
Member

PyPI rejected the 10.1.1 sdist with License-File LICENSE.md does not exist in distribution file. All seven wheels uploaded; the sdist did not. maturin puts pyproject.toml at the sdist root but this crate's files under crates/spliterator-py/, so the license is now copied to the root too. publish-pypi.yml also runs twine check --strict before uploading. Verified locally: twine check --strict passes, and the sdist builds a wheel.

PyPI rejected the 10.1.1 sdist: its License-File entry named LICENSE.md at
the root, where maturin had not put it. The wheels uploaded; the sdist did
not. The publish workflow now runs twine check --strict first.
@GirlBossRush
GirlBossRush merged commit 6a74f5a into main Oct 28, 2026
2 checks passed
@GirlBossRush
GirlBossRush deleted the sdist-license branch October 28, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant