Skip to content

Commit 469cc0d

Browse files
authored
Require setuptools >=77 to comply with new license def recommendation (#3564)
### Changes Fix license definition after #3561 ### Reason for changes ``` [2025-06-26T06:07:13.497Z] ValueError: invalid pyproject.toml config: `project.license`. [2025-06-26T06:07:13.497Z] configuration error: `project.license` must be valid exactly by one definition (2 matches found): [2025-06-26T06:07:13.497Z] [2025-06-26T06:07:13.497Z] - keys: [2025-06-26T06:07:13.497Z] 'file': {type: string} [2025-06-26T06:07:13.497Z] required: ['file'] [2025-06-26T06:07:13.497Z] - keys: [2025-06-26T06:07:13.497Z] 'text': {type: string} [2025-06-26T06:07:13.497Z] required: ['text'] [2025-06-26T06:07:13.497Z] [2025-06-26T06:07:13.497Z] [end of output] [2025-06-26T06:07:13.497Z] [2025-06-26T06:07:13.497Z] note: This error originates from a subprocess, and is likely not a problem with pip. [2025-06-26T06:07:13.497Z] error: subprocess-exited-with-error ```
1 parent 07a4a7f commit 469cc0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
2+
requires = ["setuptools>=77.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "nncf"
77
description = "Neural Networks Compression Framework"
8-
readme="docs/PyPiPublishing.md"
8+
readme = "docs/PyPiPublishing.md"
99
license = "Apache-2.0"
1010
authors = [{ name = "Intel" }, { email = "maksim.proshin@intel.com" }]
1111
requires-python = ">=3.9"

0 commit comments

Comments
 (0)