Skip to content

Fix sdist LICENSE inclusion for PyPI release#15

Merged
pratyush618 merged 4 commits into
masterfrom
fix/sdist-license
May 9, 2026
Merged

Fix sdist LICENSE inclusion for PyPI release#15
pratyush618 merged 4 commits into
masterfrom
fix/sdist-license

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

  • Add license = \"MIT\" and license-files = [\"LICENSE\"] to [project] in pyproject.toml so maturin's sdist actually includes the LICENSE file. PyPI rejected the 0.1.0 sdist with 400 License-File LICENSE does not exist in distribution file dagron-0.1.0.tar.gz at dagron-0.1.0/LICENSE.
  • Add description / license / repository / keywords / categories to crates/dagron-core/Cargo.toml for crates.io readiness.

Context

The 0.1.0 wheels uploaded successfully (run 25605917409); only the sdist upload returned 400. Verified locally that the sdist now contains dagron-0.1.0/LICENSE and PKG-INFO declares License-Expression: MIT + License-File: LICENSE.

Test plan

  • Rebuilt sdist locally with maturin sdistLICENSE now present in tarball
  • After merge: re-cut the 0.1.0 release from the web UI; the publish workflow's skip-existing: true will skip already-uploaded wheels and upload the fixed sdist

@pratyush618 pratyush618 merged commit 9be3ccc into master May 9, 2026
8 checks passed
@pratyush618 pratyush618 deleted the fix/sdist-license branch May 9, 2026 22:29
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