I’ve upgraded to Python 3.10 now and have been able to get everything working except gstreamer. I did the link of the system gi directory into the site-packages and copied _gi.cpython-39-arm-linux-gnueabihf.so to _gi.cpython-310-arm-linux-gnueabihf.so. I have no idea if that’s the actual filename I should be using. I get the following error:
ImportError: cannot import name '_gi_gst' from 'gi.overrides' (/srv/homeassistant/lib/python3.10/site-packages/gi/overrides/__init__.py)
Any help would be appreciated.