For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Tumbleweed/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For openSUSE Factory zSystems run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Factory_zSystems/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For openSUSE Factory PowerPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Factory_PowerPC/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/openSUSE_Factory_ARM/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/15.6/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/15.5/devel:languages:python:Factory.repo
zypper refresh
zypper install python312
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:Factory/15.4/devel:languages:python:Factory.repo
zypper refresh
zypper install python312