cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 33 forks source link

Upgrade to Python 3.12 break the SDK #145

Closed FlavienJP closed 1 month ago

FlavienJP commented 8 months ago

Prerequisites

Describe the bug I've upgraded my interpreter to Py 3.12 (dependency need it) and it breaks the code.

ModuleNotFoundError: No module named 'imp'

You can find a thread about it => https://discuss.python.org/t/how-do-i-migrate-from-imp/27885/26

Expected behavior Fresh install of venv with a fresh install of packages.

Screenshots

Environment (please complete the following information):

Additional context I also need to install "setuptool" to fix ModuleNotFoundError: No module named 'pkg_resources' error.

bvargasre commented 4 months ago

Hi @FlavienJP, the problem should have been fixed with the new version of dnacentersdk 2.7.1 Try it and if it works feel free to close the issue.

bvargasre commented 1 month ago

I'm going to close this issue. Any problems that arise feel free to open a new issue or reopen this one Best regards.