Find removed load_module() on import loaders

Proprietary

importlib.abc.Loader.load_module() and zipimport.zipimporter.load_module() were removed in Python 3.15, and the import system no longer calls load_module() on a custom loader. Marks calls to it and its definitions in Loader subclasses. Only fires where the receiver's or class's type resolves.

org.openrewrite.python.migrate.FindLoaderLoadModule
mod run . --recipe=org.openrewrite.python.migrate.FindLoaderLoadModule

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.