Skip to content

Include the licence files in the sdist, and release 0.1.1 - #11

Merged
fedonman merged 2 commits into
mainfrom
sdist-license-files
Sep 28, 2026
Merged

fedonman merged 2 commits into
mainfrom
sdist-license-files

Conversation

@fedonman

Copy link
Copy Markdown
Owner

PyPI rejected the 0.1.0 sdist because it lists LICENSE, LICENSE-APACHE and LICENSE-MIT in its metadata without containing them, so 0.1.0 went out as wheels only. The three files are now force-included in the sdist through [tool.maturin] include, and the version moves to 0.1.1 (Cargo.toml, Cargo.lock, the __version__ fallback) with a changelog entry. Once merged, tagging v0.1.1 publishes the wheels and the sdist and creates the GitHub release.

maturin writes License-File entries for LICENSE, LICENSE-APACHE and
LICENSE-MIT into PKG-INFO, but with manifest-path pointing into the
workspace it leaves the files out of the archive. PyPI rejected the 0.1.0
sdist for that, after the wheels had already uploaded.
@fedonman
fedonman merged commit 97fda0c into main Sep 28, 2026
8 checks passed
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