mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
refactor: installer pins keyed by bootstrap file
installer_build.pins read the site's served names from model.guides, which loads the guides YAML at import. Since the launcher builders read the pin through it, the installer doc build pulled pyyaml in, and the Python 3.8 installer job has none.
This commit is contained in:
1 parent
9ac3145c5e
commit
753d39ffe3
4 files changed
+6
-9
No files matched your search
@@ -72,7 +72,7 @@ def served_text(name: str, root: Path, commit: str) -> str:
|
||||
pair served."""
|
||||
source, line = SOURCES[name]
|
||||
text = (root / source).read_text(encoding="utf-8")
|
||||
pinned = PIN[name].findall(text)
|
||||
pinned = PIN[source].findall(text)
|
||||
if len(pinned) != 1:
|
||||
raise ValueError(f"{source}: {len(pinned)} installer pins, expected one")
|
||||
actual = hashlib.sha256((root / "install.py").read_bytes()).hexdigest()
|
||||
|
||||
Reference in new issue
Block a user