Bug 14629

Summary: eSDK/bitbake-layers: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
Product: [Yocto Project Subprojects] eSDK Reporter: Robert Berger <pokylinux>
Component: eSDKAssignee: Robert Berger <pokylinux>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium+ CC: randy.macleod, richard.purdie, sgw
Version: 3.4   
Target Milestone: 4.0 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: NIR 01/21, 01/28, 02/04, 02/11
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Robert Berger 2021-11-13 09:25:56 UTC
+ source /opt/buildtools-extended/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/environment-setup-x86_64-resysdk-linux
+ source environment-setup-armv7at2hf-neon-resy-linux-gnueabi
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
+ layers/poky-training/bitbake/bin/bitbake-layers show-layers
/opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio
  import asyncore
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile: /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/cache/prserv.sqlite3, Address: 127.0.0.1:43690, PID: 19197
WARNING: <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

layer                 path                                      priority
==========================================================================
meta                  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta  5
meta-poky             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta-poky  5
meta-yocto-bsp        /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta-yocto-bsp  5
meta-multi-v7-ml-bsp  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-multi-v7-ml-bsp  6
meta-u-boot-wic-bsp   /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-u-boot-wic-bsp  6
meta-resy             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-resy  6
meta-oe               /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-oe  6
meta-networking       /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-networking  5
meta-filesystems      /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-filesystems  6
meta-python           /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-python  7
meta-my-yocto-layer   /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-my-yocto-layer  6
meta-my-yocto-images-layer  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-my-yocto-images-layer  6
workspace             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace  99
+ '[' -d /workdir/sources/meta-nettoe ']'
+ layers/poky-training/bitbake/bin/bitbake-layers show-layers
/opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio
  import asyncore
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile: /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/cache/prserv.sqlite3, Address: 127.0.0.1:34507, PID: 19226
WARNING: <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

layer                 path                                      priority
==========================================================================
meta                  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta  5
meta-poky             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta-poky  5
meta-yocto-bsp        /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training/meta-yocto-bsp  5
meta-multi-v7-ml-bsp  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-multi-v7-ml-bsp  6
meta-u-boot-wic-bsp   /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-u-boot-wic-bsp  6
meta-resy             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-resy  6
meta-oe               /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-oe  6
meta-networking       /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-networking  5
meta-filesystems      /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-filesystems  6
meta-python           /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-openembedded/meta-python  7
meta-my-yocto-layer   /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-my-yocto-layer  6
meta-my-yocto-images-layer  /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/meta-my-yocto-images-layer  6
workspace             /opt/ext-sdk/resy/3.4.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/workspace  99
...
Comment 1 Tim Orling 2021-11-18 18:11:48 UTC
importlib: Document how to replace load_module() in What's New in Python 3.10 [https://bugs.python.org/issue43540]
Comment 2 Tim Orling 2021-11-18 18:59:51 UTC
Initial pass at implementation (not tested):
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/load_module_14629
Comment 4 Tim Orling 2022-01-06 15:33:21 UTC
@Robert Berger: can you re-test to see if there are any remaining issues?
Comment 5 Richard Purdie 2022-02-10 16:01:51 UTC
@Robert Berger: can you re-test to see if there are any remaining issues?
Comment 6 Robert Berger 2022-02-14 14:18:10 UTC
This is fixed in a more recent version.
Comment 7 Saul Wold 2022-02-14 14:59:11 UTC
Based on comments, this is fixed
Comment 8 Randy MacLeod 2025-02-14 16:46:28 UTC
bulk change to add Saul's non-WR address.
Comment 9 Randy MacLeod 2025-02-14 16:48:15 UTC
Bulk change: Remove Saul's old WR address.