From 27921f7f1a62756e77810338cc175b6eda82bdfc Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 23 Apr 2025 08:08:44 -0700 Subject: [PATCH] Add warning for people adding dependencies To hopefully prevent regressions like #1131 from happening again. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b66940ee..ff653d94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,8 @@ [build-system] build-backend = "_own_version_helper:build_meta" +# Be careful that dependencies added here do not also depend upon setuptools-scm, +# otherwise it'll cause problems with builds from source (e.g. #722, #918, #1131) requires = [ "setuptools>=61", 'tomli<=2.0.2; python_version < "3.11"',