interactions.py icon indicating copy to clipboard operation
interactions.py copied to clipboard

[BUG] audioop is deprecated and to be removed in Python 3.13

Open AstreaTSS opened this issue 1 year ago • 0 comments

Library Version

unstable

Describe the Bug

Currently, in our voice support, we use audioop for a specific line in it. As noted in PEP 594 though, audioop is deprecated and will be removed in Python 3.13.

Voice support will be broken in Python 3.13 because of this, and reimplementing the one line we use is not trival.

Steps to Reproduce

Use interactions.py in Python 3.13, and especially the voice features.

Expected Results

...it to work, I guess.

Minimal Reproducible Code

No response

Traceback

No response

Checklist

  • [X] I have searched the open issues for duplicates.
  • [X] I have shown the entire traceback, if possible.
  • [X] I have removed my token from display, if visible.
  • [X] I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

Thankfully for us, discord.py also faces this issue and one of its contributors made an LTS version of audioop that looks like a great solution. It's not on pip yet as the developer needs to test it, but hopefully it should be ready soon enough.

This issue is more to make sure we're aware of the problem more than anything else.

AstreaTSS avatar May 21 '24 22:05 AstreaTSS