We're stuck at PyO3 0.11 because https://github.com/PyO3/pyo3/pull/1143 breaks `wrap_pyfunction!()` for us. See https://github.com/PyO3/pyo3/pull/1597 Once that fix is merged and published, we can update to the latest PyO3 again.