Skip to content

fix: use SPDX license expression so setuptools 77+ can build - #40

Merged
cgfixit merged 1 commit into
mainfrom
grok/spdx-license-metadata
Sep 12, 2026
Merged

cgfixit merged 1 commit into
mainfrom
grok/spdx-license-metadata

Conversation

@cgfixit

@cgfixit cgfixit commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes #38.

SPDX: pyproject.toml kept license = "MIT" but also listed the superseded Trove classifier License :: OSI Approved :: MIT License. Current setuptools rejects that combination (InvalidConfigError), so uv pip install -e '.[dev,integrations]' failed. Drop the classifier and require setuptools>=77 (SPDX license expressions).

Ruff pip-cache teardown: already landed on main in #37 (60c3c4d — standalone ruff.yml no longer enables pip cache while installing with --no-cache-dir). This PR does not retouch that workflow.

Verified:

  • pip install -e '.[dev,integrations]' succeeds on setuptools 84
  • tests/test_pyproject_metadata.py locks the SPDX-not-classifier contract
  • ruff check / ruff format --check on the new test file

No parser/CLI behavior change.

Drop the superseded Trove license classifier that modern setuptools
rejects next to license = "MIT", and require setuptools>=77 for SPDX.
The standalone Ruff pip-cache teardown was already fixed on main (#37).

Closes #38
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@cgfixit
cgfixit marked this pull request as ready for review September 12, 2026 13:29
@cgfixit
cgfixit merged commit 8d8675c into main Sep 12, 2026
17 checks passed
@cgfixit
cgfixit deleted the grok/spdx-license-metadata branch September 12, 2026 13:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-12T13:32:04.329789Z d1afae2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

Fix setuptools license metadata build failure and Ruff cache teardown error

1 participant