Replace imp module with importlib to fix FTBFS on Python 3.12 (Closes: #1056480)
The latest version upstream (2.4.11) already fixes this issues.
I'm opening this Merge Request to patch the FTBFS on this version if the maintainer is not planning on packaging the latest version anytime soon, since the package has been marked for autoremoval on 08 January.