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
This commit is contained in:
fecet 2026-02-21 01:02:49 +08:00
parent b254cecd03
commit d2384ced6b
No known key found for this signature in database

View File

@ -2,7 +2,8 @@
name = "ComfyUI" name = "ComfyUI"
version = "0.14.1" version = "0.14.1"
readme = "README.md" readme = "README.md"
license = { file = "LICENSE" } license = "GPL-3.0-only"
license-files = ["LICENSE"]
requires-python = ">=3.10" requires-python = ">=3.10"
[project.urls] [project.urls]