Using python 3.10 on Bullseye with Domoticz
Posted: Wednesday 06 November 2024 21:56
I currently running Domoticz 2024.7 on Rpi/Bulleye, meaning defaults Python 3.9.
I am now running into troubles due to a bug in Python 3.9 --> https://github.com/python/cpython/issues/88216.
The bug is solved in Python 3.10, but not backported in Python 3.9.
I would like to avoid migrating to Bookworm to just get python 3.10 (as there are some breaking changes, like networking etc).
I found a backport of Python 3.10 in https://community.home-assistant.io/t/h ... eye/528439, but to avoid breaking the system, it will not be the default python3 version, but installed aside version 3.9 (which stays the system default).
Before trying this workaround, has somebody experience with a "side version of python3" combined with Domoticz? As Domoticz is working with the embedded python "libpython", will it be possible to start domoticz so that it takes the "side loaded" python 3.10? And how to achieve this?
Any help or thoughts are welcome!
Filip
I am now running into troubles due to a bug in Python 3.9 --> https://github.com/python/cpython/issues/88216.
The bug is solved in Python 3.10, but not backported in Python 3.9.
I would like to avoid migrating to Bookworm to just get python 3.10 (as there are some breaking changes, like networking etc).
I found a backport of Python 3.10 in https://community.home-assistant.io/t/h ... eye/528439, but to avoid breaking the system, it will not be the default python3 version, but installed aside version 3.9 (which stays the system default).
Before trying this workaround, has somebody experience with a "side version of python3" combined with Domoticz? As Domoticz is working with the embedded python "libpython", will it be possible to start domoticz so that it takes the "side loaded" python 3.10? And how to achieve this?
Any help or thoughts are welcome!
Filip