Aesara changing to PyTensor within PyMC
Just as a note for the future, the PyMC package will be switching from the Aesara tensor library to a fork of Aesara called PyTensor when PyMC v5 is released. Making the PyMC interface in bilby compatible should be just a matter of changing the imports (as was done in the switch from PyMC3 to PyMC v4 !1117 (merged)). However, it may also be worth considering dropping PyMC support as I'm not sure anyone uses it.