Repository navigation
Use an SPDX license string so setuptools stops warning - #35
Merged
Merged
Conversation
setuptools 77 deprecates `project.license` as a TOML table and the "License :: OSI Approved" classifiers, and stops accepting them after 2027-02-18. Switch to `license = "MIT"` with `license-files`, drop the classifier, and require setuptools>=77, the first release that reads PEP 639 license expressions. Matches the sibling MCP servers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: installing this package (
pip install -e ".[dev]", as CI does) printed setuptoolsBuildBackendWarnings becauseproject.licensewas a TOML table, which setuptools stops accepting after 2027-02-18. Apython -m buildlogged 8 of them.After: the build is silent about licenses, and the wheel carries
License-Expression: MITpluslicenses/LICENSE.How:
license = "MIT",license-files = ["LICENSE"], and[build-system]requiressetuptools>=77(the first release that reads SPDX expressions), matching the siblings. Onlypyproject.tomlchanges: nothing inshared.tomlsyncs packaging metadata to the siblings, so no sibling needs a re-sync andshared-driftis unaffected. Checked locally: build clean,pytest93 passed. No version bump.Generated by Claude Code