Hi,
The Py_SetPythonHome is deprecated. Could someone update it with the correct patch.
The Py_SetPythonHome is deprecated. Could someone update it with the correct patch.
Code:
sgi.c:724:9: warning: ‘Py_SetPythonHome’ is deprecated [-Wdeprecated-declarations]
724 | Py_SetPythonHome(to_wchar(python_home));
| ^~~~~~~~~~~~~~~~
In file included from /opt/eenos/python314/include/python3.14/Python.h:134,
from wsgi.c:29:
/opt/eenos/python314/include/python3.14/pylifecycle.h:40:38: note: declared here
40 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
| ^~~~~~~~~~~~~~~~
wsgi.c:727:9: warning: ‘Py_SetProgramName’ is deprecated [-Wdeprecated-declarations]
727 | Py_SetProgramName(to_wchar(python_bin));
| ^~~~~~~~~~~~~~~~~
/opt/eenos/python314/include/python3.14/pylifecycle.h:37:38: note: declared here
37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
| ^~~~~~~~~~~~~~~~~
wsgi.c: In function ‘wsgiSubInit’:
wsgi.c:782:9: warning: ‘PySys_SetArgv’ is deprecated [-Wdeprecated-declarations]
782 | PySys_SetArgv( 1, argv ); /* make sure sys.argv gets set */
| ^~~~~~~~~~~~~
In file included from /opt/eenos/python314/include/python3.14/Python.h:136:
/opt/eenos/python314/include/python3.14/sysmodule.h:10:38: note: declared here
10 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);