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

DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13 #1174

Open
3 tasks done
lucasadsouza opened this issue Mar 24, 2024 · 1 comment
Open
3 tasks done
Labels
p: low Priority: low - not important to be worked on s: planned Status: the issue is planned to be worked on t: refactor Type: refactor - this is a code change but does not fix a bug/add features

Comments

@lucasadsouza
Copy link

lucasadsouza commented Mar 24, 2024

Summary

'audioop' is deprecated and slated for removal in Python 3.13

Reproduction Steps

Run pytest on a nextcord Bot.

Minimal Reproducible Code

There is no need for a reproducible code, audioop was added to the deprecated modules list since Python 3.11:
https://peps.python.org/pep-0594/#deprecated-modules

Expected Results

No warnings.

Actual Results

=================================== warnings summary ===================================
Lib\site-packages\nextcord\player.py:5
C:\Users\username\OneDrive\Documents\Sync\Dev\venvname\Lib\site-packages\nextcord\player.py:5: DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13
import audioop

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Intents

nextcord.Intents.all()

System Information

  • Python v3.11.8-final
  • nextcord v2.6.0-final
  • aiohttp v3.9.1
  • system info: Windows 10 10.0.19045

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.

Additional Context

Not something urgent since it is for 3.13, but I thought it would be nice to inform since there is not a suggestion for replacement in PEP 594.

Thank you.

@lucasadsouza lucasadsouza added the t: unconfirmed bug Type: bug - needs testing on if this is an issue label Mar 24, 2024
@EmreTech
Copy link
Collaborator

I wouldn't say this is a bug and instead more of a feature request, but thanks anyways!

@EmreTech EmreTech added s: planned Status: the issue is planned to be worked on p: low Priority: low - not important to be worked on t: refactor Type: refactor - this is a code change but does not fix a bug/add features and removed t: unconfirmed bug Type: bug - needs testing on if this is an issue labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: low Priority: low - not important to be worked on s: planned Status: the issue is planned to be worked on t: refactor Type: refactor - this is a code change but does not fix a bug/add features
Projects
None yet
Development

No branches or pull requests

2 participants