conan icon indicating copy to clipboard operation
conan copied to clipboard

Replace deprecated imp module with importlib

Open dheater opened this issue 3 years ago • 0 comments

Changelog: Fix: The imp module was deprecated with Python 3.4 and is scheduled for removal with Python 3.12. This PR remove the last reference to imp

Closes #12148

  • [x] Refer to the issue that supports this Pull Request.
  • [x] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • [x] I've read the Contributing guide.
  • [x] I've followed the PEP8 style guides for Python code.
  • [N/A] I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Test with Python 3.6 since that is the oldest version currently supported. Run slow tests to be sure we cover all cases #PYVERS: py36 #TAGS: slow

dheater avatar Sep 20 '22 01:09 dheater