You are not logged in.
Apparently, thonny-5.0.0-1 expects a version of uv_build lower than 0.12.0. As the version in the Arch repos currently sits at 0.12.10, build fails like so:
ERROR Unmet dependencies (checked against /usr/bin/python):
uv_build<0.12.0,>=0.11.6
wanted: <0.12.0,>=0.11.6
found: 0.12.10
==> ERROR: A failure occurred in build().
Aborting...Editing the pyproject.toml file to accept version 0.12.10 makes the build complete without errors, and Thonny seems to run just fine thus far.
Just ran across this and thought I'd spare the next person a bit of grief. I'd've put this in a comment below the thonny AUR entry, but new registrations are still closed. Maybe someone with an existing AUR account could copy-paste it there or something.
Offline
Did you also adjust the PKGBUILD's dependencies replacing python-setuptools in depends with python-uv-build in makedepends?
Offline