From 07ea16ba7dea850c8c51d42463a1e0bdb7e2d95f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 14 Oct 2025 08:54:19 -0500 Subject: [PATCH 1/4] update PEP-639 license values in pyproject.toml --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 96f663a8b..f5ef76a82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,13 @@ [build-system] -requires = ["hatchling>=1.4", "jupyter_client>=6"] +requires = ["hatchling>=1.5", "jupyter_client>=6"] build-backend = "hatchling.build" [project] name = "ipykernel" dynamic = ["version"] authors = [{name = "IPython Development Team", email = "ipython-dev@scipy.org"}] -license = {file = "LICENSE"} +license = "BSD-3-Clause" +license-files = ["LICENSE"] readme = "README.md" description = "IPython Kernel for Jupyter" keywords = ["Interactive", "Interpreter", "Shell", "Web"] From a5b3403e6f40f9c6918ad2de84e556a58455d184 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 14 Oct 2025 09:06:05 -0500 Subject: [PATCH 2/4] use latest hatchling --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f5ef76a82..02d75650d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.5", "jupyter_client>=6"] +requires = ["hatchling>=1.27", "jupyter_client>=6"] build-backend = "hatchling.build" [project] From 917c9f0500cc6e847f41a54b1d6a4a0d6c4a484b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 14 Oct 2025 09:28:08 -0500 Subject: [PATCH 3/4] try older newer hatchling --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 02d75650d..511bbf8ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.27", "jupyter_client>=6"] +requires = ["hatchling>=1.12", "jupyter_client>=6"] build-backend = "hatchling.build" [project] From 80a777818b875a0c41801301c469e4bc43303c9c Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 14 Oct 2025 09:38:09 -0500 Subject: [PATCH 4/4] more hatchling bisection, rely on well-known license name --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 511bbf8ca..851c6f2ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.12", "jupyter_client>=6"] +requires = ["hatchling>=1.22", "jupyter_client>=6"] build-backend = "hatchling.build" [project] @@ -7,7 +7,6 @@ name = "ipykernel" dynamic = ["version"] authors = [{name = "IPython Development Team", email = "ipython-dev@scipy.org"}] license = "BSD-3-Clause" -license-files = ["LICENSE"] readme = "README.md" description = "IPython Kernel for Jupyter" keywords = ["Interactive", "Interpreter", "Shell", "Web"]