Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  How do python dependencies iteracts?

    Posted Fri October 11, 2024 08:26 PM

    Hi team,

    Recently I have been asked to specify if the python dependencies interacts on each python execution or if they are used just at the time of the installation of python.

    • gdbm (GPL-2.0)                                            python3 prerequisites
    • gettext (LGPL-2.1)                                        python3 prerequisites
    • libgdbm.a(libgdbm.so.6) (GPL-3.0)         python3 prerequisites
    • xz-libs (GPL-2.0)                                           python3 prerequisites
    • libgmp.a(libgmp.so.10) (GPL-3.0)           python3 prerequisites

    The objective is to determine in what ways does the IBM product/XaaS offering interact, directly or indirectly via dependencies, with the GPL, AGPL or LGPL code?

    As far as I understand python itself and the different libraries use those packages at the installation time, what I'm not sure is if they are being used at the execution time ( every time we call python ).


    What I'm looking is to determine the type of interaction between the dependencies and the packages itself.

    Type of interactions:

    Static Linking.

    Dynamic Linking.

    Scripting Language.

    Command Line Invocation.

    Pipes or Sockets.

    Standard local API call.

    Remote API call.

    Non-Standard API call.

    Combining code.

    Other interaction.

    Thanks in advance.



    ------------------------------
    LUIS ABDEL AGUILAR JURADO
    ------------------------------

    #AIXOpenSource


  • 2.  RE: How do python dependencies iteracts?

    Posted Mon October 14, 2024 02:21 AM

    gettext (libintl.a) is the only direct dynamic linking from libpython3.  gdbm, xz-libs and other libraries are utilised by specific python3 standard modules (/opt/freeware/lib64/python3.9/lib-dynload)  through dynamic linking.  So it depends on the usage if only python3 is used or the standard modules are also imported and used. 



    ------------------------------
    Ayappan P
    ------------------------------