There's a merged pull request on the void-packages repository variety: patch to fix for Python 3.12. https://github.com/void-linux/void-packages/pull/46726 Description: #### Testing the changes - I tested the changes in this PR: **YES** `imp` is no longer available so I had to patch it to use `importlib`.