Skip to content

Fix license format in pyproject.toml for Python 3.12+ compatibility#22

Open
SimonMcCallum wants to merge 4 commits intoAcademySoftwareFoundation:developfrom
SimonMcCallum:fix/pyproject-license-format
Open

Fix license format in pyproject.toml for Python 3.12+ compatibility#22
SimonMcCallum wants to merge 4 commits intoAcademySoftwareFoundation:developfrom
SimonMcCallum:fix/pyproject-license-format

Conversation

@SimonMcCallum
Copy link
Copy Markdown

Summary

  • Change license = {text = "Apache-2.0"} to license = "Apache-2.0" in pyproject.toml
  • The old table format is deprecated per PEP 639 and rejected by newer versions of setuptools, blocking pip install -e . on Python 3.12+

Test plan

  • Verify pip install -e . succeeds on Python 3.12+ with current setuptools
  • Confirm license metadata is correctly reported via pip show RMTC

🤖 Generated with Claude Code

The old table format `license = {text = "Apache-2.0"}` is rejected by
newer setuptools on Python 3.12+. Use the PEP 639 string format instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Mar 23, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

…ecated

Signed-off-by: Simon McCallum <simon.mccallum@vuw.ac.nz>
@SimonMcCallum SimonMcCallum force-pushed the fix/pyproject-license-format branch from ff07ed2 to 55f52c5 Compare March 23, 2026 11:03
Signed-off-by: Simon McCallum <simon.mccallum@vuw.ac.nz>
Signed-off-by: Simon McCallum <simon.mccallum@vuw.ac.nz>
@jsmccarten
Copy link
Copy Markdown

Hi Simon,

I see you are using Claude. Please review the draft AI Policy to ensure you're aligned with the requirements of the project regarding disclosure and usage.

Cheers,
John

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