Skip to content

fix: change license field definition syntax#90

Open
shejmanowski wants to merge 1 commit into
pyca:mainfrom
shejmanowski:fix-metadata-license-field
Open

fix: change license field definition syntax#90
shejmanowski wants to merge 1 commit into
pyca:mainfrom
shejmanowski:fix-metadata-license-field

Conversation

@shejmanowski
Copy link
Copy Markdown

@shejmanowski shejmanowski commented May 15, 2026

Changed license-expression to license = {text = "MIT"} in pyproject.toml to avoid Metadata-Version 2.4 requirement. This fixes twine check validation errors when uploading wheels.

Summary

Pull Request Check List

  • I acknowledge this project's AI policy.
  • This pull requests is not from my main branch.
  • There's tests for all new and changed code.
  • New APIs are added to our typing tests in api.py.
  • Updated documentation for changed code.
    • New functions/classes have to be added to docs/api.rst by hand.
    • Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.
      • The next version is the second number in the current release + 1. The first number represents the current year. So if the current version on PyPI is 26.1.0, the next version is gonna be 26.2.0. If the next version is the first in the new year, it'll be 27.1.0.
  • Documentation in .rst and .md files is written using semantic newlines.
  • Changes (and possible deprecations) are documented in the changelog.

Changed license-expression to license = {text = "MIT"} in pyproject.toml
to avoid Metadata-Version 2.4 requirement. This fixes twine check
validation errors when uploading wheels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant