Per @Parfait, there is not easy way of doing it.
Pandas for example implements the same interface twice for lxml and xml.etree, and rely on the fact that the APIs are mature and stable, so there is no need for continued maintenance.