HewlettPackard / oneview-python

Python library for HPE OneView
https://github.com/HewlettPackard/oneview-python/wiki
Apache License 2.0
28 stars 27 forks source link

Incompatability with Python 3.12 #285

Open lukas-holzner opened 8 months ago

lukas-holzner commented 8 months ago
    from hpeOneView import HPEOneViewTaskError

  File "/usr/local/lib/python3.12/site-packages/hpeOneView/__init__.py", line 12, in <module>

    from future import standard_library

  File "/usr/local/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>

    import imp

ModuleNotFoundError: No module named 'imp'

Hello,

it seams like this Python package is using deprecated packages, which where removed in Python 3.12. "imp" no longer exists in python 3.12.. Could you please update dependencies/ the way you are working with libraries.

Thank You!

akshith-gunasheelan commented 8 months ago

Hi @lukas-holzner thanks a lot for pointing this out, we will look into it and pick it up as per priority.