You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Martin Zink (Jira)" <ji...@apache.org> on 2023/03/07 13:03:00 UTC

[jira] [Updated] (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 ]

Martin Zink updated MINIFICPP-1961:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

https://github.com/apache/nifi-minifi-cpp/commit/70015a3a5e2c218c4db1c7e18f6a9d5085293869

> 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: 13h 50m
>  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)