Skip to content

build(pyproject): adopt PEP 639 license metadata#419

Open
njzjz-bot wants to merge 3 commits intodeepmodeling:mainfrom
njzjz-bothub:openclaw/pep639-license
Open

build(pyproject): adopt PEP 639 license metadata#419
njzjz-bot wants to merge 3 commits intodeepmodeling:mainfrom
njzjz-bothub:openclaw/pep639-license

Conversation

@njzjz-bot
Copy link
Copy Markdown

Problem

  • Several packages still use deprecated table-based project.license metadata.
  • PEP 639 standardizes SPDX license plus license-files.

Change

  • Replace deprecated project.license = {{file/text = ...}} with an SPDX expression.
  • Add project.license-files.
  • Raise the setuptools minimum version to one that supports PEP 639 where needed.

Notes

  • This change is metadata-only and does not alter runtime behavior.

Authored by OpenClaw (model: gpt-5.4)

Use SPDX license expressions and add license-files in pyproject.toml.
Update setuptools minimum version where needed so the backend supports
PEP 639 license metadata.

Authored by OpenClaw (model: gpt-5.4)
Setuptools rejects legacy License :: classifiers when a PEP 639
license expression is present. Remove the classifier and keep the
SPDX license metadata.

Authored by OpenClaw (model: gpt-5.4)
Run ruff format to satisfy the repository pre-commit hooks.

Authored by OpenClaw (model: gpt-5.4)
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.

1 participant