There is a new pull request by paper42 against master on the void-packages repository https://github.com/paper42/void-packages electron19-py311 https://github.com/void-linux/void-packages/pull/40889 electron19: fix build with Python 3.11 I didn't manage to apply a proper patch, but this at least fixes the build. #### Testing the changes - I tested the changes in this PR: **briefly** A patch file from https://github.com/void-linux/void-packages/pull/40889.patch is attached