Hi, I took a look at the same in Ubuntu [1] and wanted to let you know about it to avoid falling into the same pitfalls I did.
First of all we all migrated to postgresql-12, which also made this an FTBFS (at least in my checks). This means we need asyncpg 0.19 [2] which I prepared in a branch, but things were not so easy. That in turn fails due to upstream separating pgproto. This might eventually be a package of its own, but for now in my experiments I left it as a patch [4] to follow you on whatever you decide to do about it eventually (if I'D break a new package in Ubuntu now there will be all kinds of transition conflicts). With the above the build passes the pgproto issue but will now hit incompatibility with python3.8 and maybe the new cython. I filed an upstream issue [5], but the answer there for now is just "Python 3.8 is not supported yet.". An example of a build log with that can be seen on [6]. So the state this leaves us for now is being old-src: FTBFS+autopkgtest-fails, new-src: FTBFS, and upstream lacking python 3.8 support. I even considered if this is worth a removal already to come back later when it is clean, but would leave entirely up to you. I have provided MRs for 0.19 [7][8][9], but as outlined above they won't work until py3.8/cython compatibility was added - so they are just a little help on the way, but not the solution :-/ [1]: https://bugs.launchpad.net/debian/+source/asyncpg/+bug/1850136 [2]: https://github.com/MagicStack/asyncpg/releases [3]: https://github.com/MagicStack/py-pgproto [4]: https://salsa.debian.org/paelzer-guest/asyncpg/commit/d98c36ef5fb287dbc9c986875efc752864c5530e [5]: https://github.com/MagicStack/asyncpg/issues/501 [6]: http://paste.ubuntu.com/p/VRntTFgrs7/ [7]: https://salsa.debian.org/python-team/modules/asyncpg/merge_requests/2 [8]: https://salsa.debian.org/python-team/modules/asyncpg/merge_requests/3 [9]: https://salsa.debian.org/python-team/modules/asyncpg/merge_requests/4 -- Christian Ehrhardt Staff Engineer, Ubuntu Server Canonical Ltd