Home Assistant with Trixie

Running a fresh install of DietPi v9.9.0 on an X86_64 box. Due to HA dropping support for Python 3.12 soon, I’m running Trixie rather than Bookworm. Installing HA using dietpi-software has thrown up a couple of issues.
When HA starts up, error messages crop up in the logs complaining about modules not being found. I’ve managed to correct these by adding pymicro-vad pyspeex-noise and mysqlclient to SOFTWARE_HOMEASSISTANT_PIP_DEPS in /boot/dietpi.txt. However, compiling mysqlclient fails unless build-essential default-libmysqlclient-dev and pkg-config are added to SOFTWARE_HOMEASSISTANT_APT_DEPS.

Problem is solved for now with my installation, so really a heads-up for others.

Well maybe a misunderstanding. We install Python 3.13.1, even on Bookworm. Because HA is running an own individual pyenv, independent from os version

Furthermore, the required Python modules depend on the personal application scenario. This can be different for everyone. It also depends on the individual modules, whether they are already available as ready-made versions or have to be compiled first.

I needed to upgrade the kernel to 6.12 so that I could get the latest driver for my RTL822 dongle.
Figured it would be easier in the long term to migrate to Trixie.

well that’s a different case and not related to the availability of Python 3.13 used by HA :wink: