Updating GH Python3 version to 3.10

Hey,
I am trying to install a python library with pip in gh cpython, however it requires py 3.10 and my gh python is 3.9.10, is there a way to update my python to 3.10?

Thanks in advance!

There is a more detailed answer somewhere, but here is a concise one…