[ 
https://issues.apache.org/jira/browse/MINIFICPP-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Zink updated MINIFICPP-1961:
-----------------------------------
    Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/1504

> 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
>            Assignee: Martin Zink
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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