In anki slackbuild python version 3.9 is hardcoded, which is why it fails on -current as it uses python 3.11:
find $PKG/usr/bin $PKG/usr/lib/python3.9/site-packages \
-mindepth 1 -maxdepth 1 \
-not -name "_aqt*" \
-not -name "aqt*" \
-not -name "anki*" \
-execdir rm -rf '{}' \+
In anki slackbuild python version 3.9 is hardcoded, which is why it fails on -current as it uses python 3.11: