Spaces:
Sleeping

xzhou10 commited on
Commit
6bc74a6
·
1 Parent(s): 224e834

fix: drop pydub pin (0.25.2 doesn't exist on PyPI)

Browse files

The python_version: 3.11 frontmatter pin alone is enough — Python 3.11
ships the stdlib audioop module that gradio<5 / pydub need. The
pydub>=0.25.2 pin was a mistake (max published version is 0.25.1) and
caused the build to fail with 'No matching distribution found'.

Files changed (1) hide show
  1. requirements.txt +2 -5
requirements.txt CHANGED
@@ -1,8 +1,5 @@
1
  gradio==4.44.0
2
  pandas>=2.1
3
  huggingface_hub>=0.24
4
- # Python 3.13 removed the stdlib audioop module that pydub<0.25.2 imports;
5
- # pydub 0.25.2 ships an audioop fallback. Pin it so the Space boots regardless
6
- # of the runtime Python version chosen by HF.
7
- pydub>=0.25.2
8
- audioop-lts; python_version >= "3.13"
 
1
  gradio==4.44.0
2
  pandas>=2.1
3
  huggingface_hub>=0.24
4
+ # python_version: "3.11" in README.md frontmatter ensures the runtime ships
5
+ # the stdlib audioop module that gradio<5 / pydub imports. No extra pin needed.