fix(pm): import _MUSL_TARGETS where IronProxy resolves musl targets
security_packages.py referenced _MUSL_TARGETS without importing it, so IronProxy.fetch_url raised NameError on linux-*-musl (the PR's own test_portable_go_tools_resolve_the_generic_linux_archives caught it). Review fix pushed to the contributor branch.
This commit is contained in:
@@ -11,7 +11,7 @@ from urllib.parse import urlparse
|
||||
from pm import paths
|
||||
from pm.lock import Lockfile
|
||||
from pm.package import InstallError
|
||||
from pm.packages import BinaryPackage, _RUST_TRIPLE
|
||||
from pm.packages import BinaryPackage, _MUSL_TARGETS, _RUST_TRIPLE
|
||||
from pm.registry import register
|
||||
from pm.store import flatten_single_dir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user