Skip to content

Commit

Permalink
Support librosa and numpy 2.0 for Python 3.10 (#7046)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Aug 13, 2024
1 parent 4f06589 commit 39c4397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
AUDIO_REQUIRE = [
"soundfile>=0.12.1",
"librosa",
"soxr>=0.4.0b1; python_version>='3.10'", # Supports numpy-2
]

VISION_REQUIRE = [
Expand Down Expand Up @@ -220,7 +221,6 @@

NUMPY2_INCOMPATIBLE_LIBRARIES = [
"faiss-cpu",
"librosa",
"tensorflow",
"transformers",
]
Expand Down

0 comments on commit 39c4397

Please sign in to comment.