Skip to content

fix: update license field to PEP-621 format in pyproject.toml#1452

Open
pintaste wants to merge 1 commit into
simonw:mainfrom
pintaste:fix/pep621-license-format
Open

fix: update license field to PEP-621 format in pyproject.toml#1452
pintaste wants to merge 1 commit into
simonw:mainfrom
pintaste:fix/pep621-license-format

Conversation

@pintaste
Copy link
Copy Markdown

The license field in pyproject.toml uses the deprecated string format. PEP 621 requires the table format:

# Before
license = "Apache-2.0"

# After  
license = {text = "Apache-2.0"}

This fixes build warnings on FreeBSD and other tooling that validates PEP-621 compliance.

Fixes #1444

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.

Update license in pyproject.toml to comply with PEP-621

1 participant