This reverts commit a059ae8192. Python3.12 is not in the stable distros yet.
a059ae8192
- python 3.11 -> 3.12