Problem compiling Python 3.12 and up

I guess there is a pretty good reason for not upgrading to latest available releases. I haven’t tried building python before. So cannot help with that. But if you are willing to experiment, there are two options.

  1. Take a look at OMLx python repo on GitHub. It seems to be updated to 3.13.3. There is a nice article on how to build packages for openmandriva. You may be able to build the package and install. Again remember, there must be a reason for not upgrading!
  2. Use homebrew (probably safer option). I recently discovered it while discussing on another thread. Once you have homebrew installed, install a particular version of python by appending @version. Like so, brew install python@3.13
    Afterwards, you can run the new version of python as python3.13 instead of just python or python3. It seems system installed version still remains default.