When working on the code in this repo, let's keep in mind that variantlib needs to be both reimplementable (e.g., in Rust) and vendorable (e.g., if a build frontend or backend cannot have dependencies, like pip).
I didn't audit all the code so this is just a single example - an absolute import like this won't work well, it breaks when variantlib is vendored:
from variantlib.loader import PluginLoader