refactor: break the launchers and layout cycle

resolve.layout imported resolve.launchers inside functions, and
launchers imported the outer roots back from layout inside functions:
the cycle common.py and launchers.py had. The outer roots and
outer_layout read only the platform config, so they move to
model.declarations beside declared_root, and launchers imports them at
the top.
This commit is contained in:
Abdessamad Derraz committed 2026-11-18 11:39:59 +01:00
1 parent c764d9abf1
commit bcb99cf761
10 files changed
+68 -73

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ import os
import sys
from dataclasses import dataclass
from resolve.layout import OUTER_ROOTS
from model.declarations import OUTER_ROOTS
from model.systems import _norm_system_id
from model.registry import load_data_dir_registry
from resolve.standalone import platform_layouts, standalone_set as platform_standalone_set