From 5cbca025101bf20ace4c6a43c3d6aa18aa1f035d Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 27 Sep 2026 01:11:53 -0700 Subject: [PATCH] test(pm): keep FFmpeg's musl gaps when the re-pin test narrows its gap table The test replaced FFmpeg's gaps with only the bionic entry, which now turns the musl targets back on and asks BtbN for a glibc build that FFmpeg.fetch_url refuses on musl. Extend the real table instead. --- tests/pm/test_update_request_reuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pm/test_update_request_reuse.py b/tests/pm/test_update_request_reuse.py index 969f2a57af..cd370ddea2 100644 --- a/tests/pm/test_update_request_reuse.py +++ b/tests/pm/test_update_request_reuse.py @@ -156,7 +156,7 @@ def test_resolution_reuses_successful_responses_but_refreshes_next_operation(ups # Manual re-pinning also needs a short-lived index scope after removing # the old process-wide FFmpeg indexes. Pin real bytes into a real lock. failures.clear() - monkeypatch.setattr(package, "gaps", {"linux-arm64-bionic": "separate supplier"}) + monkeypatch.setattr(package, "gaps", {**package.gaps, "linux-arm64-bionic": "separate supplier"}) body = b"advertised ffmpeg artifact" for urls in decision.artifact_updates.values(): RangeHandler.payloads[urlsplit(urls[0]).path] = body