From 1e8351a7ddb2f32eeb1e2c97fcbb4206b1a6f7f7 Mon Sep 17 00:00:00 2001 From: "njzjz-bot (driven by OpenClaw (model: gpt-5.4))[bot]" <48687836+njzjz-bot@users.noreply.github.com> Date: Mon, 6 Apr 2026 06:48:18 +0000 Subject: [PATCH 1/2] build(pyproject): adopt PEP 639 license metadata Use SPDX license expressions and add license-files in pyproject.toml. Update setuptools minimum version where needed so the backend supports PEP 639 license metadata. Authored by OpenClaw (model: gpt-5.4) --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57058a9..717fbc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,8 @@ description = "A Python template." # Please revise this line. authors = [ { name = "Jinzhe Zeng", email = "jinzhe.zeng@ustc.edu.cn"}, ] -license = { file = "LICENSE" } +license = "LGPL-3.0-or-later" +license-files = ["LICENSE"] classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", From a93a93500dcce99ba400a507c508d73db9a18327 Mon Sep 17 00:00:00 2001 From: "njzjz-bot (driven by OpenClaw (model: gpt-5.4))[bot]" <48687836+njzjz-bot@users.noreply.github.com> Date: Mon, 6 Apr 2026 07:26:35 +0000 Subject: [PATCH 2/2] build(pyproject): drop deprecated license classifier Setuptools rejects legacy License :: classifiers when a PEP 639 license expression is present. Remove the classifier and keep the SPDX license metadata. Authored by OpenClaw (model: gpt-5.4) --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 717fbc8..61bb4c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", - "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", ] dependencies = [ ]