emmett-framework / granian

A Rust HTTP server for Python applications
BSD 3-Clause "New" or "Revised" License
2.67k stars 79 forks source link

Upgrade PyO3 to 0.21 #217

Closed gi0baro closed 5 months ago

gi0baro commented 7 months ago

This also includes switching to new Bound API. See for ref https://github.com/PyO3/pyo3/issues/3382 and https://github.com/PyO3/pyo3/issues/3684

Note: check if GILPool overhead is effectively removed in 0.21 and consider to use a forked version of PyO3 in the meantime if not (see https://github.com/PyO3/pyo3/issues/3827#issuecomment-1942405479 and https://github.com/PyO3/pyo3/issues/3787#issuecomment-1918721168)