Update the versions of twisted to test against.
Restore pre-12.3 compatibility.