From d2384ced6b2829a2e2ea5f08a4c1e3c3d34b517b Mon Sep 17 00:00:00 2001 From: fecet Date: Sat, 21 Feb 2026 01:02:49 +0800 Subject: [PATCH 1/2] fix: use PEP 639 license format in pyproject.toml Replace deprecated `license = { file = "LICENSE" }` with PEP 639 SPDX expression format. The old table-based license field is deprecated per PEP 639 and causes issues with tools that expect machine-readable SPDX identifiers (e.g. conda build backends). Ref: https://peps.python.org/pep-0639/#deprecate-license-field --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 51c3d224d..a8fadc620 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,8 @@ name = "ComfyUI" version = "0.14.1" readme = "README.md" -license = { file = "LICENSE" } +license = "GPL-3.0-only" +license-files = ["LICENSE"] requires-python = ">=3.10" [project.urls] From d93d192976d5d4835eef1c36a394f8079ed09306 Mon Sep 17 00:00:00 2001 From: fecet Date: Sat, 21 Feb 2026 01:09:32 +0800 Subject: [PATCH 2/2] drop SPDX license identifier, keep only license-files Leave the SPDX identifier decision to ComfyUI maintainers. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a8fadc620..44e05608d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,6 @@ name = "ComfyUI" version = "0.14.1" readme = "README.md" -license = "GPL-3.0-only" license-files = ["LICENSE"] requires-python = ">=3.10"