Skip to content

Conversation

messense
Copy link
Member

lobsterkatie added a commit to getsentry/ophio that referenced this pull request Apr 30, 2025
Pypi expects us to declare the license file according to PEP 639[1], but maturin doesn't yet support it[2]. Another maturin user posted a workaround[3], to try to get maturin to include the license file in the tarball, which this PR implements.

(There is a draft PR[4] in the maturin repo to add support for PEP 639, but as of now it seems incomplete. If/when that's completed, merged, and released, we can update maturin and then fix the license specification as is done in #80.)


[1] https://peps.python.org/pep-0639/
[2] PyO3/maturin#2531 (comment)
[3] PyO3/maturin#2531 (comment)
[4] PyO3/maturin#2571
messense pushed a commit that referenced this pull request Jun 11, 2025
This PR adds full PEP 639 support, building upon
PyO3/pyproject-toml-rs#32 and the experience in
uv.

Closes #2571
Closes #2531

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@messense messense deleted the revamp-license branch June 11, 2025 13:51
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.

maturin sdist doesn't include LICENSE on root when the root is not current directory
1 participant