Munki makes use of Python’s “imp” module to import middleware and repo plugin files, if present. “imp” has been deprecated for a while in Python 3, and is not included in Python 3.12 (the current version of Python).
If Munki’s Python is ever to be updated past 3.10.x, a number of changes must be made, and replacing the use of the “imp” module is one of those changes.
If you use middleware or repo plugins (I know SimpleMDM admins probably do), please test these changes.