DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13
TruncatedDinoSour opened this issue · 3 comments
Steps to reproduce
use the lib
Expected behavior
u should switch from audioop
Actual behavior
its being deprecated lol
Your System configuration
- Python version: 3.11.5
- Pydub version: 0.25.1
- ffmpeg or avlib?: ffmpeg
- ffmpeg/avlib version: 2:6.0-13
Is there an audio file you can include to help us reproduce?
You can include the audio file in this issue - just put it in a zip file and drag/drop the zip file into the github issue.
idk i was doing some audio captcha stuff and it threw tht warning, i was converting from wav to ogg
This is a good opportunity to switch to numpy, which i've wanted to do for a while.
This would allow simpler, more readable, less buggy code going forward.
A downside is that we would have another dependency, though numpy is not the worst dependency to have.
We can fall back to the current audioop code until it is removed.
This is a good opportunity to switch to numpy, which i've wanted to do for a while. This would allow simpler, more readable, less buggy code going forward. A downside is that we would have another dependency, though numpy is not the worst dependency to have. We can fall back to the current audioop code until it is removed.
epic
good luck
Some documentation about the depreciation: https://peps.python.org/pep-0594/#audioop