Skip to content

Implement PEP 639 #9670

@befeleme

Description

@befeleme

Issue Kind

Change in current behaviour

Description

See: https://peps.python.org/pep-0639

Additional context:

Impact

poetry now uses the license field from the custom [tool.poetry] table - this will enable unification under the specified main [project] table of pyproject.toml and map to a new core metadata field.
This also brings in a standardized way of specifying the license files in the package metadata, which will help the downstream consumers locate them unambiguously.

Workarounds

poetry now includes both the license expression (as SPDX) and the license files in the distribution. This will just make the declarations and metadata unified across many packaging tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreRelated to the poetry-core librarykind/featureFeature requests/implementationsstatus/acceptedFeature request accepted for the roadmap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions