There's no _cairo.cpython-312-x86_64-linux-gnu.so in python3-cairo because pycairo no longer builds extensions for all supported Python versions, see #1055488.