You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2022/10/18 13:19:00 UTC

[jira] [Created] (MINIFICPP-1961) Python scripting compatibility with multiple python minor versions

Marton Szasz created MINIFICPP-1961:
---------------------------------------

             Summary: Python scripting compatibility with multiple python minor versions
                 Key: MINIFICPP-1961
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1961
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Marton Szasz


Libpython's soname changes every minor release, which makes binary redistribution infeasible. There is, however, a stable API of libpython, in which things like macros with implementation details are avoided, and this is ABI-compatible with python 3.2+.

https://docs.python.org/3/c-api/stable.html

Minifi c++ should be changed to use only this limited API of python. Since it's currently using pybind11, which is not compatible with the limited stable API, it's most likely necessary to get rid of this wrapper and manually call C API functions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)