From 372407fca7bde478dcf33927050056053aaac2e6 Mon Sep 17 00:00:00 2001 From: Atharva Tilewale <165510686+AtharvaTilewale@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:24:06 +0530 Subject: [PATCH] Require setuptools>=77 to build pyproject.toml declares the license as the PEP 639 SPDX expression `license = "GPL-2.0-only"`, which setuptools only accepts from version 77.0 onwards, but the build requirement was left unpinned. Build environments that resolve an older setuptools therefore fail with "configuration error: `project.license` must be valid exactly by one definition" instead of reporting the unmet build requirement. Fixes #199 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6f21926..6889109 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools"] +requires = ["setuptools>=77"] [project] name = "plip"