reopen 942686 thanks I applied the patch too quickly (see #943506) – it doesn't work with the Python 3.7 filenames in current Debian unstable.
Python 3.8 apparently produces apsw.cpython-38-x86_64-linux-gnu.so apsw.cpython-38d-x86_64-linux-gnu.so but Python 3.7 produces apsw.cpython-37m-x86_64-linux-gnu.so apsw.cpython-37dm-x86_64-linux-gnu.so so the proposed pattern usr/lib/python3*/*-packages/*.cpython-3?*-*.so in python-apsw.install matches both the regular and the debug filename for Python 3.7. Matthias Klose: What's the preferred way of dealing with this situation? -- Joel