`s2protocol` uses the `imp` module which was removed in Python 3.12: https://docs.python.org/3/library/imp.html Any chance we can do without it?