Running sudo mw update on version v0.29.1 produces the following error:
ERROR could not move new binary to location: open /usr/local/bin/mw: text file busy
@Addshore suspects that https://gitlab.wikimedia.org/repos/releng/cli/-/commit/c76ec8ecc708b48e44393dff50c5e166f5a7be61 is to blame.
A workaround to resolve the issue is to run mw update -vv (without sudo!) and then copy the new binary by hand from the location that appears above the line showing the permission error.