Skip to content

Declare the license as an SPDX expression - #829

Merged
derek73 merged 1 commit into
masterfrom
chore/spdx-license
Oct 22, 2026
Merged

derek73 merged 1 commit into
masterfrom
chore/spdx-license

Conversation

@derek73

@derek73 derek73 commented Oct 22, 2026

Copy link
Copy Markdown
Owner

CI's build step prints a setuptools deprecation: project.license as a TOML table is deprecated, and builds stop being supported after 2027-02-18.

  • license = {text = "LGPL"} becomes license = "LGPL-2.1-or-later". LICENSE grants "version 2.1 ... or (at your option) any later version", so the expression matches it.
  • license-files = ["LICENSE", "AUTHORS"].
  • The License :: OSI Approved :: ... classifier is removed, since setuptools refuses it beside a license expression.

Verified: uv build prints no warning; twine check passes on both artifacts; the wheel's METADATA carries License-Expression: LGPL-2.1-or-later plus License-File: LICENSE and AUTHORS (both under dist-info/licenses/); uv run pytest -q passes. CITATION.cff already says LGPL-2.1-or-later; README and docs state no conflicting version.

The PyPI metadata (and the README's |License| badge, which reads PyPI) changes on the next release. No packaging or chore label exists, so this uses tooling.

🤖 Generated with Claude Code

setuptools warns that project.license as a TOML table is deprecated and
stops supporting it after 2027-02-18. Use the SPDX string, list LICENSE and
AUTHORS in license-files, and drop the license classifier, which setuptools
refuses beside a license expression.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@derek73 derek73 self-assigned this Oct 22, 2026
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.05%. Comparing base (79272c7) to head (6a9ea49).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #829   +/-   ##
=======================================
  Coverage   99.05%   99.05%           
=======================================
  Files          47       47           
  Lines        4659     4659           
=======================================
  Hits         4615     4615           
  Misses         44       44           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@derek73
derek73 merged commit 9be7261 into master Oct 22, 2026
12 checks passed
@derek73
derek73 deleted the chore/spdx-license branch October 22, 2026 19:10
@derek73 derek73 added this to the 2.6 milestone Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant