comfy-cli icon indicating copy to clipboard operation
comfy-cli copied to clipboard

Add support for modern license entries in `pyproject.toml`

Open set-soft opened this issue 5 months ago • 2 comments

Describe the solution you'd like The supported mechanism:

license = { file = "LICENSE" }

Is currently deprecated in favor of SPDX tags, but this tool is forcing the deprecated mechanism, which is confusing for Python developers

set-soft avatar Jul 25 '25 14:07 set-soft

Is this is about supporting PEP 639 records, like this one:

license = "MIT-CMU"
license-files = [ "LICENSE" ]

bigcat88 avatar Jul 29 '25 17:07 bigcat88

Yes, in particular SPDX, which is the recommended mechanism. If I use the file mechanism in a regular Python package, I get a deprecation warning asking to use it.

set-soft avatar Jul 30 '25 17:07 set-soft