it’s a aur package. fully update your system, if you have not already and rebuild that software against python 3.10.
from the stable update announcement of 1/2/2022:
You may need to rebuild any AUR packages that install files to site-packages …
pamac build bauh