From 5cdfa0bde6f4ce38d542c87c308a8a56a01feb2f Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sat, 26 Sep 2026 17:27:07 -0700 Subject: [PATCH] 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. --- pm/security_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm/security_packages.py b/pm/security_packages.py index 977aedff1c..896b0a4260 100644 --- a/pm/security_packages.py +++ b/pm/security_packages.py @@ -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