Skip to content

Update the embedded Python initialization. #96

@burlen

Description

@burlen

As below error message suggests we need to find an alternative for deprecated functions. However, It seems that the configuration mechanisms for embedding have changed so this is a larger issue.

In file included from /Users/runner/work/SENSEI/build/sensei/PythonAnalysisPYTHON_wrap.cxx:3326:
/Users/runner/work/SENSEI/SENSEI/sensei/PythonAnalysis.cxx:276:3: warning: 'Py_SetProgramName' is deprecated [-Wdeprecated-declarations]
  Py_SetProgramName(C_STRING_LITERAL("PythonAnalysis"));
  ^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pylifecycle.h:37:1: note: 'Py_SetProgramName' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions