From 07e0d62004de63a4f29480db568b941b2a4c2676 Mon Sep 17 00:00:00 2001 From: Avi Shinnar Date: Wed, 18 Mar 2026 22:33:07 -0400 Subject: [PATCH] Add upper bound on setup tools so that hyperopt is happy Signed-off-by: Avi Shinnar --- pyproject.toml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 638dd9c54..80f094f19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools>=61.0,<82.0"] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 463af50c3..d832be730 100644 --- a/setup.py +++ b/setup.py @@ -44,6 +44,7 @@ install_requires = [ "numpy", "black>=22.1.0", + "setuptools>=61.0,<82.0", # needed for hyperopt "hyperopt>=0.2,<=0.2.7", "jsonschema<=5", "jsonsubschema>=0.0.6",