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

aifc lib to be removed in Python 3.13 #286

Open
tiagovaz opened this issue Nov 8, 2024 · 0 comments
Open

aifc lib to be removed in Python 3.13 #286

tiagovaz opened this issue Nov 8, 2024 · 0 comments

Comments

@tiagovaz
Copy link

tiagovaz commented Nov 8, 2024

Hello Olivier!

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084560

Python 3.13 removes a large amount of so called 'dead battery' libraries
from the standard library. As such, code that imports these libraries
will no longer work in Python 3.13, which is the targeted version for
Trixie.

See this link for more details:
https://peps.python.org/pep-0594/#deprecated-modules

I see this library is used on two occasions only in pyo:

pyo/lib/players.py
30:import aifc
359: sf = aifc.open(wrap(path, i)) # Do we need stringencode() here?
555: sf = aifc.open(wrap(path, i))

Would you know any replacement for it? I did some research and couldn't find one :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant