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)

Reply via email to