Revert license and license-files changes in pyproject.toml#19624
Conversation
Summary -- This partially reverts commit 13634ff after issues in the release today. Test Plan -- ```shell uv build --sdist tar -tzf dist/ruff-0.12.6.tar.gz | grep ruff-0.12.6/LICENSE ``` which finds the license now.
|
I have read #19599 and this PR, and don't understand the te |
|
I saw you got an answer on #19599, but you're right. I forgot all of the conversation around this was on Discord and could have included more context here. It might be helpful in the future. During the 0.12.6 release, the sdist upload was rejected from PyPI for not containing the As mentioned on #19599, the root cause seems to be a maturin bug, so we should be able to revert this revert at some point in the future. |
|
Thank you so much. I have created draft PR #19661 that attempts to explain all known issues. |
|
Putting aside the main issue (the maturin bug): It turns out pip-licences is not much maintained and has been forked into pip-licenses-cli which does support PEP 639. Also |
Summary
This partially reverts commit 13634ff after issues in the release today.
Test Plan
uv build --sdist tar -tzf dist/ruff-0.12.6.tar.gz | grep ruff-0.12.6/LICENSEwhich finds the license now.