Skip to content

Commit bf6f41e

Browse files
Support librosa and numpy 2.0 for Python 3.10 (#7046)
1 parent 3b708bb commit bf6f41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
AUDIO_REQUIRE = [
144144
"soundfile>=0.12.1",
145145
"librosa",
146+
"soxr>=0.4.0b1; python_version>='3.10'", # Supports numpy-2
146147
]
147148

148149
VISION_REQUIRE = [
@@ -192,7 +193,6 @@
192193

193194
NUMPY2_INCOMPATIBLE_LIBRARIES = [
194195
"faiss-cpu",
195-
"librosa",
196196
"tensorflow",
197197
"transformers",
198198
]

0 commit comments

Comments
 (0)