You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kalmár Róbert (Jira)" <ji...@apache.org> on 2022/10/21 14:26:00 UTC

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

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

Kalmár Róbert reassigned MINIFICPP-1961:
----------------------------------------

    Assignee: Kalmár Róbert

> 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: Kalmár Róbert
>            Priority: Major
>
> 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)