Skip to content

docs: clarify PEP 639 license fields and setuptools minimum - #17

Open
harshitethic wants to merge 3 commits into
mainfrom
docs/1854-clarify-pep639-fields
Open

harshitethic wants to merge 3 commits into
mainfrom
docs/1854-clarify-pep639-fields

Conversation

@harshitethic

@harshitethic harshitethic commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Addresses pypa#1854.

This fixes both ambiguities reported in the license / license-files section.

  1. The current sentence says licenses “should be declared with two fields”, which can read as if both fields are mandatory. The revision explains that PEP 639 defines two independent fields with different roles: the SPDX expression and the set of distributed legal files.
  2. The backend table is explicitly labeled as the versions that introduced PEP 639 support, but it currently lists setuptools 77.0.3. Setuptools' own current documentation and changelog identify 77.0.0 as the release that introduced SPDX project.license and project.license-files support, so the table is corrected to 77.0.0.

A short note also makes clear that these are historical first-support versions, not versions users should pin today.


📚 Documentation preview 📚: https://python-packaging-user-guide--17.org.readthedocs.build/en/17/

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