Add support for Python v3.11

Expected to be release the 24th October 2022.

Edited by Moul