The latest version of libcec in the tree has no python3.9 support. Reproducible: Always
Support was added with this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdcc05196eb7afa9e1a84c2c610dd3c14a17028