@jpmens wrt that passlib / bcrypt issue from a few days ago, did you find this patch?
https://github.com/ansible/ansible/issues/85919#issuecomment-3381788978
I applied it locally for FreeBSD & it works nicely, I guess you can use it also on non-BSD systems.
https://git.sr.ht/~dch/ports/commit/80d18eff5ccc76a1190732e851d994e5f1ed3197
Not sure if it is suitable for upstreaming to the ports tree tho.