Currently building lldb with python support causes a deprecation warning in the build. This is caused by the use of Py_SetPythonHome() in ScriptInterpreterPython.cpp:166. Which is deprecated since 3.11. Python is moving to using a different init mechanism, using the PyConfig struct instead, and relying on setting a config string within the struct.
Relevant info:
https://docs.python.org/3/c-api/init.html#c.Py_SetPythonHome
https://docs.python.org/3/c-api/init_config.html#init-config
https://docs.python.org/3/c-api/init_config.html#c.PyConfig
This is a good first issue.