Hey folks!
Just a quick “heads up” for anyone that might still be relying on Python 3.10, particularly in Haiku installs.
On October 2026 Python 3.10 will reach “End of Life”, which means Haiku should probably switch to some newer version of the Python interpreter as “default Python” before that date.
So, the PSA is: try to test your code with newer versions of the Python interpreter. If it works OK on newer versions on other OSes, but fail in Haiku, please open an issue over: https://github.com/haikuports/haikuports. HaikuPorts will most likely drop Python 3.10 support by ends of 2026.
That also means Haiku will need to change it’s “default Python” version too in the not so distant future.
We currently have all “active/current” Python versions available on Haiku’s repos, but ideally, once we switch to a newer version, all packages on the repos that need a Python interpreter, should also be updated to require only one particular version.
Thing is… that implies testing about 250+ packages, so even figuring out which Python version supports all of them (if any) will be a pain in the rear, and things might get broken and/or missing in during/after the switch.
If you’re proficient in Python, or at least have experience in dealing with Python dependencies, feel free to volunteer!, The HaikuPorts team is small, can always use some help, and we don’t bite (too much)!.
I’m currently using 3.14 as my “default Python” on Haiku (/bin/python3 --version returns 3.14.4), and will continue to do so for the time being. I really hope we can “jump” into 3.14 directly (skipping 3.11/3.12/3.13), but that might depend on how well 3.14 is supported by some of the “python stuff” we still package as .hpkg.
I will be trying to figure out that on the next months, as mood-swings and internet access allows
.
While I haven’t been as active as I would have liked lately (due to personal, and hardware/internet-access reasons), we still have pretty up-to-date Python interpreters packages available, so much of the remaining work is testing if things work with newer versions of the Python interpreters.
All help on that regard will be appreciated.