PackageLoader fails with custom import hooks
PackageLoader fails with custom import hooks: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). When using custom import hooks that implement PEP 451, PackageLoader raises an AttributeError because it tries to access the archive attribute on loaders that don't…
The task
When using custom import hooks that implement PEP 451, PackageLoader raises an AttributeError because it tries to access the `archive` attribute on loaders that don't have it.