Skip to content

Use an SPDX license string so setuptools stops warning - #35

Merged
SDNick484 merged 1 commit into
mainfrom
claude/project-thread-hteltz
Nov 11, 2026
Merged

SDNick484 merged 1 commit into
mainfrom
claude/project-thread-hteltz

Conversation

@SDNick484

Copy link
Copy Markdown
Owner

Before: installing this package (pip install -e ".[dev]", as CI does) printed setuptools BuildBackendWarnings because project.license was a TOML table, which setuptools stops accepting after 2027-02-18. A python -m build logged 8 of them.

After: the build is silent about licenses, and the wheel carries License-Expression: MIT plus licenses/LICENSE.

How: license = "MIT", license-files = ["LICENSE"], and [build-system] requires setuptools>=77 (the first release that reads SPDX expressions), matching the siblings. Only pyproject.toml changes: nothing in shared.toml syncs packaging metadata to the siblings, so no sibling needs a re-sync and shared-drift is unaffected. Checked locally: build clean, pytest 93 passed. No version bump.


Generated by Claude Code

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>
@SDNick484
SDNick484 merged commit fc64077 into main Nov 11, 2026
4 checks passed
@SDNick484
SDNick484 deleted the claude/project-thread-hteltz branch November 11, 2026 18:47
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.

2 participants