WaE: Py_SetPythonHome is deprecated since python 3.11
not obvious how to replace it, so just accept for now Change-Id: Id3fc4c95a5cc60e078f06faaa024faa9c770de20 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152504 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -129,7 +129,9 @@ static void setPythonHome ( const OUString & pythonHome )
|
|||||||
PyErr_SetString(PyExc_SystemError, "python home path is too long");
|
PyErr_SetString(PyExc_SystemError, "python home path is too long");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Py_SetPythonHome(wide);
|
SAL_WNODEPRECATED_DECLARATIONS_PUSH
|
||||||
|
Py_SetPythonHome(wide); // deprecated since python 3.11
|
||||||
|
SAL_WNODEPRECATED_DECLARATIONS_POP
|
||||||
}
|
}
|
||||||
|
|
||||||
static void prependPythonPath( std::u16string_view pythonPathBootstrap )
|
static void prependPythonPath( std::u16string_view pythonPathBootstrap )
|
||||||
|
Reference in New Issue
Block a user