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.  python 3.12 errors on AIX 7.2 SP9

    Posted Wed September 03, 2025 06:46 AM

    we were testing update on python software to 3.12 version on aix 7.2 sP9  test server .
     since ansible playbook is not working with python 3.12 and we have rolled back to python3 version and ansible playbook is working again fine.
    so we want to know if python 3.12 requires additional fixes so that ansible playbook will work on AIX 7.2 SP9 or python 3.12 is not compatible with AIX 7.2 SP9.Please provide your inputs 



    ------------------------------
    Midrange Team
    ------------------------------

    #AIXOpenSource


  • 2.  RE: python 3.12 errors on AIX 7.2 SP9

    Posted Wed September 03, 2025 06:52 AM

    When you say ansible playbook is not working with python3.12, what is the error encountered ?



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



  • 3.  RE: python 3.12 errors on AIX 7.2 SP9

    Posted Thu September 04, 2025 03:23 AM

    Hi Ayyappan,

                                      Please find the error --<module>\r\nModuleNotFoundError: No module named 'ansible.module_utils.six.moves'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}



    ------------------------------
    Midrange Team
    ------------------------------



  • 4.  RE: python 3.12 errors on AIX 7.2 SP9

    Posted Thu September 04, 2025 11:50 PM

    Hi ,

                    Any one can give inputs for the ansible error on aix with python 3.12



    ------------------------------
    Midrange Team
    ------------------------------



  • 5.  RE: python 3.12 errors on AIX 7.2 SP9

    Posted Fri September 05, 2025 03:10 AM

    Are you using AIX as a Ansible controller node ? If so, you can't use it with python3.12 now as Toolbox Ansible is built against python3.9. We have already published some python3 based packages built against python3.12 in Toolbox. Ansible against python3.12 will be available in few more weeks. 



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



  • 6.  RE: python 3.12 errors on AIX 7.2 SP9
    Best Answer

    Posted Sun September 07, 2025 02:24 PM

    Hi Ayyapan,

                                    Thanks for update , please let us know once ansible is available in toolbox for python 3.12 in same thread .

    Regards

    Anup Prabhakar



    ------------------------------
    Midrange Team
    ------------------------------