From 5e0ab991e74d31c8684b04ecc27f6d0d758f0d56 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 10 Oct 2026 18:04:15 +1000 Subject: [PATCH] check-deps: no strict channel priority, like the builds With strict priority, a package found in an earlier channel hides every build of it in the later ones; with the shared test channel (all distributions) in front of a release channel, humble's and jazzy's win-64 ros2-ros-base couldn't be solved (the test channel only has lyrical's ros2-pybind11-vendor). The builds already pass --channel-priority disabled; the dependency check now does too. Co-Authored-By: Claude Opus 5.5 --- tools/check_dependency_compat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/check_dependency_compat.py b/tools/check_dependency_compat.py index 8deb46a2f..992fb9f79 100644 --- a/tools/check_dependency_compat.py +++ b/tools/check_dependency_compat.py @@ -326,6 +326,10 @@ def run_solve( ] for channel in channels: cmd += ["-c", channel] + # like the builds (tools/robostack.py): with strict priority, a package in an earlier + # channel (e.g. a test channel holding several distributions) hides every build of + # it in the later ones + cmd += ["--channel-priority", "disabled"] env = dict(os.environ, COLUMNS="500", NO_COLOR="1", RATTLER_BUILD_NO_SPINNER="1") # Solving for a foreign platform yields __glibc=0 / __osx=0 virtual packages, which # makes every package look uninstallable. Provide sane defaults unless overridden.