Opened 12 months ago
Last modified 2 months ago
#35961 closed Bug
Support PEP639-style license indicator in pyproject.toml — at Version 11
| Reported by: | Michiel Beijen | Owned by: | Jacob Walls |
|---|---|---|---|
| Component: | Packaging | Version: | 4.2 |
| Severity: | Release blocker | Keywords: | packaging, license |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Change History (12)
by , 12 months ago
| Attachment: | 0001-Implement-PEP-639-licence-tags-in-pyproject.toml.patch added |
|---|
comment:1 by , 12 months ago
| Description: | modified (diff) |
|---|
comment:2 by , 12 months ago
| Description: | modified (diff) |
|---|
comment:3 by , 12 months ago
| Has patch: | unset |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:4 by , 12 months ago
| Has patch: | set |
|---|---|
| Owner: | set to |
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
comment:5 by , 11 months ago
| Patch needs improvement: | set |
|---|---|
| Version: | 5.1 → dev |
Proposed change does not work, I added details to the PR.
comment:7 by , 8 months ago
| Owner: | changed from to |
|---|
comment:9 by , 6 months ago
Fix for this ticket should include updating the tutorial section that describes steps for packaging your app.
comment:10 by , 3 months ago
| Summary: | Support PEP639-style license indicator in pyproject.yaml → Support PEP639-style license indicator in pyproject.toml |
|---|
comment:11 by , 3 months ago
| Description: | modified (diff) |
|---|---|
| Keywords: | license added |
| Owner: | changed from to |
| Severity: | Normal → Release blocker |
| Type: | Cleanup/optimization → Bug |
| Version: | dev → 4.2 |
I'm accepting as the project is currently using
Licenseand this is now deprecatedHowever, I think the proposal here needs to be refined as the attached patch uses
Licenseand this is deprecated in favour ofLicense-Expression.