For algebro, this is the comment I received from the packager of the python dependencies used to build Katrain:
ruahcra commented on 2023-04-02 20:02 (CDT)
This package should only be required when using python <3.7. Since Arch is now on python 3.10, and your error message below shows it is building using 3.10, it is an error in the PKGBUILD of that application. You can just remove the dependency from the package build.
Pinned Comments
algebro commented on 2023-04-14 14:40 (UTC)
Just an update on kivymd, it looks like the katrain maintainer started work on bumping the kivymd version to 1.x but the branch has been idle since September. It would be a big help to the project to contribute if anyone has the skills or interest!
For now, the workaround unfortunately is to manually downgrade to python-kivymd 0.104.2/0.104.1.