From 3f7d09f3b622657efb4827198a4a314a5c3853da Mon Sep 17 00:00:00 2001 From: LeSingh1 Date: Sun, 17 May 2026 18:19:05 -0700 Subject: [PATCH] Relax numpy pin for Python 3.12 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit numpy<1.24 transitively requires distutils, which was removed from Python 3.12. The repo doesn't use any numpy 1.24+ deprecated aliases (np.float_, np.bool_, np.int_, etc. — grep confirms zero matches), so the upper bound is no longer needed. Removing it lets pip resolve a modern numpy (which no longer depends on distutils) and unblocks installation on Python 3.12+. Fixes #388 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 644fa456..ab549bc2 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ "transformers==4.44.2", "huggingface-hub==0.24.6", "scipy", - "numpy<1.24", + "numpy", "pytest", "scikit-learn", "invisible-watermark",