From c1f9ed32724fbcfe352e331546dc42d8baf5a334 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 14 Nov 2026 13:10:26 +0000 Subject: [PATCH] fix(dsk-blender): install blender on Arch only where Arch carries it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Main run 43531315242 lost its Blender#0 row (arch on arm64): pacman found no blender package and the pacman module fell back to reading it as a file ('could not find or read package'). Arch Linux ARM's aarch64 extra repository carries no blender. The Archlinux entry of the shared blender package now declares architectures: [amd64], the per-distro mechanism the centos entry already uses, so the deploy matrix drops only arch x arm64 while Debian, Ubuntu and Fedora keep their arm64 rows. 🎯 Fix: 90 % 💥 Break: 3 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: ~100 % 🏆 Score: 87 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 --- meta/packages.yml | 5 ++++- .../roles/dsk-blender/test_architectures.py | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/meta/packages.yml b/meta/packages.yml index 9b41831722..4712a5ae22 100644 --- a/meta/packages.yml +++ b/meta/packages.yml @@ -28,7 +28,10 @@ blender: Archlinux: - - blender + names: + - blender + architectures: + - amd64 Debian: - blender centos: diff --git a/tests/unit/python/roles/dsk-blender/test_architectures.py b/tests/unit/python/roles/dsk-blender/test_architectures.py index e616ebd78b..6b9518f959 100644 --- a/tests/unit/python/roles/dsk-blender/test_architectures.py +++ b/tests/unit/python/roles/dsk-blender/test_architectures.py @@ -6,7 +6,7 @@ from utils.github.variant.pins import draw_pair, row_architectures, row_pairs from utils.github.variant.pools import ARCHITECTURES, DISTROS ROLE = "dsk-blender" -UNPUBLISHED = ("centos", "arm64") +UNPUBLISHED = {"centos", "arch"} def _drawn() -> set[tuple[str, str]]: @@ -31,9 +31,18 @@ class TestBlenderArchitectures(unittest.TestCase): def test_the_role_keeps_every_architecture(self) -> None: self.assertEqual(row_architectures(ROLE, ARCHITECTURES), ARCHITECTURES) + def test_the_matrix_never_plans_arch_on_arm64(self) -> None: + self.assertNotIn( + ("arch", "arm64"), + _drawn(), + "Arch Linux ARM carries no blender package " + "(http://mirror.archlinuxarm.org/aarch64/extra/), so pacman aborts " + "with 'could not find or read package'", + ) + def test_the_matrix_never_plans_centos_on_arm64(self) -> None: self.assertNotIn( - UNPUBLISHED, + ("centos", "arm64"), _drawn(), "centos installs org.blender.Blender from Flathub, which publishes " "it for x86_64 only " @@ -45,7 +54,7 @@ class TestBlenderArchitectures(unittest.TestCase): def test_every_other_distro_still_runs_on_arm64(self) -> None: self.assertEqual( {distro for distro, architecture in _drawn() if architecture == "arm64"}, - set(DISTROS) - {"centos"}, + set(DISTROS) - UNPUBLISHED, )