Skip to content

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

Closed
@AstreaTSS

Description

@AstreaTSS

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

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions