Skip to content

Commit 68d83fb

Browse files
committed
fix: Relax numpy version constraint for Python 3.12+ support
Relax numpy version constraint from >=1.24.0,<1.26.0 to >=1.24.0,<2.0.0 Enables installation on Python 3.12 and 3.13 Problem ------- Fixes #77, #104, #231, #240, #243, #272, #319, #322, #323, #390 The numpy<1.26.0 constraint prevented installation on Python 3.12+ because numpy 1.24.x/1.25.x cannot be built from source (pkgutil.ImpImporter was removed in Python 3.12, and distutils was removed from stdlib). Solution -------- Changed to >=1.24.0,<2.0.0 to allow prebuilt numpy wheels for Python 3.12/3.13 while maintaining numpy 1.x API compatibility. Test ---- Verified with pip install -e . on Python 3.12 - installs numpy 1.26.4 and imports work correctly.
1 parent ed27b95 commit 68d83fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
{name = "resemble-ai", email = "engineering@resemble.ai"}
1010
]
1111
dependencies = [
12-
"numpy>=1.24.0,<1.26.0",
12+
"numpy>=1.24.0,<2.0.0",
1313
"librosa==0.11.0",
1414
"s3tokenizer",
1515
"torch==2.6.0",

0 commit comments

Comments
 (0)