I tried to pick the patch mentioned before and it is ok, but not enough. In addition Debian needs the changes in [1] to build correctly again.
[1]: https://github.com/MagicStack/asyncpg/issues/256 -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd