Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(player): migrate to audioop-lts on Python >= 3.13 #1225

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

LevBernstein
Copy link
Contributor

Summary

Reopening this because I borked my master on my fork. Sorry.

Audioop is a "dead battery" that has been removed by PEP 594 in versions of Python >= 3.13.0. Thankfully, an LTS port has been created here. This PR would switch nextcord to audioop-lts for versions of Python that no longer include audioop OOTB.

Fixes #1174.

In terms of testing, I confirmed that, on Python 3.13., audioop-lts is installed; and on Python 3.12, nothing additional is installed.

@ooliver1 ooliver1 added p: high Priority: high - should be worked on as soon as reasonable t: meta Type: meta - this does not relate to code or documentation s: awaiting review Status: the issue or PR is awaiting reviews 3.0 The issue/PR should go for the 3.0 release labels Nov 21, 2024
@ooliver1 ooliver1 added this to the 3.0 milestone Nov 21, 2024
@Skelmis Skelmis merged commit fac8280 into nextcord:master Nov 25, 2024
11 checks passed
@LevBernstein LevBernstein deleted the audioop-lts branch November 30, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 The issue/PR should go for the 3.0 release p: high Priority: high - should be worked on as soon as reasonable s: awaiting review Status: the issue or PR is awaiting reviews t: meta Type: meta - this does not relate to code or documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13
3 participants