Skip to content

Fix Python 3.12 aubio import check#125

Open
antide-xx wants to merge 1 commit intorbn42:stablefrom
antide-xx:fix/python312-aubio
Open

Fix Python 3.12 aubio import check#125
antide-xx wants to merge 1 commit intorbn42:stablefrom
antide-xx:fix/python312-aubio

Conversation

@antide-xx
Copy link
Copy Markdown

This fixes a Python 3.12 incompatibility in Panon.

Python 3.12 removed importlib.find_loader(), which caused the backend to fail with:

AttributeError: module 'importlib' has no attribute 'find_loader'

This patch replaces it with importlib.util.find_spec(), restoring backend startup.

Tested on:

  • Ubuntu 24.04
  • Plasma 5.27
  • PipeWire (PulseAudio backend)
  • Python 3.12

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

Successfully merging this pull request may close these issues.

1 participant