fix: return target skip notes, print them in scope

build_target_cores_cache printed its INFO notes itself, so expected_pack_names wrote notes about platforms nobody asked for. The notes come back with the cache and target_scope, the command-line wrapper, prints them.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:43:46 +01:00
1 parent 57ee0cdd8f
commit 8787f453c7
5 files changed
+29 -21

No files matched your search

+1 -1
View File
@@ -242,7 +242,7 @@ def expected_pack_names(
cache = None
if target_name:
try:
cache, pool = build_target_cores_cache(
cache, pool, _notes = build_target_cores_cache(
pool, target_name, platforms_dir, is_all=True
)
except ValueError: