changeset 53248:16d650ea972f

pyproject: bump `setuptools` requirement to 80.1.0 `py -3.9 run-tests.py` recently started failing on Windows with 75.6.0: $ time py -3.9 run-tests.py test-check-* Processing c:\users\matt\projects\mercurial\mercurial-devel Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [87 lines of output] configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] <snip> File "C:\hgdev\python39-x64\lib\site-packages\setuptools\config\pyprojecttoml.py", line 61, in validate raise ValueError(f"{error}\n{summary}") from None ValueError: invalid pyproject.toml config: `project.license`. configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] [end of output] No idea what the minimum required actually is, or why it suddenly changed from a warning.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 30 Apr 2025 16:33:30 -0400
parents aa95f9763fc3
children 5bb6a0ae7d6c
files pyproject.toml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyproject.toml	Wed Apr 30 15:48:42 2025 -0400
+++ b/pyproject.toml	Wed Apr 30 16:33:30 2025 -0400
@@ -1,7 +1,7 @@
 [build-system]
 requires = [
     "wheel",
-    "setuptools>=64",
+    "setuptools>=80.1.0",
     "setuptools-scm>=8.1.0",
     ]
 build-backend = "setuptools.build_meta"