Control: tags -1 patch
This suggests that updating Debian's python3-moto to 5.1.1 will fix this bug.
Doing that the straightforward way does build, but I haven't yet tried building smart-open with it:
https://salsa.debian.org/rnpalmer-guest/python-moto/-/pipelines/829615 (The Lintian errors aren't new.)