From 0244e4fade52616eb985c06cc1af052be333dcab Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 11 Oct 2024 22:51:43 +0200 Subject: [PATCH 1/2] Store license identifier inside the License-Expression metadata field --- CHANGES.md | 7 +++++++ pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 36840039976..432fed8a408 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Change Log +# Unreleased + +### Packaging + +- Store license identifier inside the `License-Expression` metadata field, see + [PEP 639](https://peps.python.org/pep-0639/). (#4479) + ## 24.10.0 ### Highlights diff --git a/pyproject.toml b/pyproject.toml index 19782ba96cc..568ba53186f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ build-backend = "hatchling.build" [project] name = "black" description = "The uncompromising code formatter." -license = { text = "MIT" } +license = "MIT" requires-python = ">=3.9" authors = [ { name = "Ɓukasz Langa", email = "lukasz@langa.pl" }, From f02a088f736c4d37c1a4b077ae2d1244ffe38371 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 11 Oct 2024 22:59:09 +0200 Subject: [PATCH 2/2] Fix documentation tests --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 432fed8a408..a63db9186e9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Change Log -# Unreleased +## Unreleased ### Packaging