ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
185 stars 107 forks source link

fix: imp module deprecated #4814

Closed atlanswer closed 4 weeks ago

atlanswer commented 4 weeks ago

Problem: The imp module has been deprecated since version 3.4 and removed in 3.12^1.

It's used in #2949: https://github.com/ansys/pyaedt/blob/da0f3f4070070d6da5b480369160f9608803c7df/pyaedt/emit_core/__init__.py#L25

Changes: Replace the usage of imp.find_module() according to the official guide^2.

ansys-reviewer-bot[bot] commented 4 weeks ago

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review