* remove all functionality deprecated in PyO3 0.21 * further adjustments after removing deprecated APIs