Closed lestercheung closed 5 months ago
I'm trying to resolve this as it's causing build failures in Fedora. The Python docs (https://docs.python.org/3/whatsnew/3.12.html#imp) have a replacement for imp.load_source
but intentionally do not have a replacement for imp.load_compiled
as it was never documented behaviour.
Still trying to wrap my head around why omsdk
is manually manipulating imports in the way it is. Will update here if I can find a workaround.
Hitting this same issue here too. Not just the aforementioned module but dellemc.openmanage.idrac_firmware_info
We'd appreciate any update
This is currently being worked on by the Dell team and will be addressed in the May month release.
Problem
OMSDK does not work with Python 3.12
Details
It's trying to import the
imp
module which has been removed from 3.12.Repro Steps
Works in 3.9:
Not working in 3.12:
Impact
The dellemc_idrac_storage_volume Ansible module depends on this.
NeedBy
Update sdkinfra.py to use importlib?
Severity
This prevents any organizations to upgrade to Python3.12 on machines managing Dell machines using Ansible.