Opened 2 weeks ago

Last modified 12 days ago

#35961 assigned Cleanup/optimization

Support PEP639-style license indicator in pyproject.yaml

Reported by: Michiel Beijen Owned by: Michiel Beijen
Component: Packaging Version: 5.1
Severity: Normal Keywords: packaging
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Michiel Beijen)

Attachments (1)

0001-Implement-PEP-639-licence-tags-in-pyproject.toml.patch (1.0 KB ) - added by Michiel Beijen 2 weeks ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Michiel Beijen, 2 weeks ago

Description: modified (diff)

comment:2 by Michiel Beijen, 2 weeks ago

Description: modified (diff)

comment:3 by David Smith, 2 weeks ago

Has patch: unset
Triage Stage: UnreviewedAccepted

I'm accepting as the project is currently using License and this is now deprecated

However, I think the proposal here needs to be refined as the attached patch uses License and this is deprecated in favour of License-Expression.

comment:4 by Michiel Beijen, 12 days ago

Has patch: set
Owner: set to Michiel Beijen

Hi, I've added PR https://github.com/django/django/pull/18892 for this one.

You mention:

I'm accepting as the project is currently using License and this is now ​deprecated

but I think you're mistaken, this is metadata in the created package, which is made by the packaging software, and not the pyproject.toml itself, see the pep639 and the document you linked to about Core Metadata for details --> https://packaging.python.org/en/latest/specifications/core-metadata/#license

Note: See TracTickets for help on using tickets.
Back to Top