Skip to content

Minimal version of setuptools supporting license-files #1870

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

Issue Description

According to section Configuring setuptools using pyproject.toml files of the setuptools documentation, the minimal version is 77.0.3:

Support for project.license-files and SPDX license expressions in project.license (PEP 639) were introduced in version 77.0.0.

According to license and license-files in this guide, the minimal version is 77.0.3:

build backend versions that introduced PEP 639 support

hatchling setuptools flit-core [2] pdm-backend poetry-core
1.27.0 77.0.3 3.12 2.4.0 not yet

I understand that patch version 3 might simply fix early bugs, but I would prefer consistency. Should we modify the setuptools guide or the packaging guide? Commit faf4c7d doesn't explain why 77.0.3 should be preferred over 77.0.0 (or 77.0.1 since 77.0.0 appears to have been yanked).

Code of Conduct

  • I am aware that participants in this repository must follow the PSF Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions