From af9c251c4bd847f199128dc5f295dcb812eb746f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 25 Jul 2026 13:47:29 -0700 Subject: [PATCH] Make docs system lib writable for package user --- docs/test_codeblocks_manifest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/test_codeblocks_manifest.py b/docs/test_codeblocks_manifest.py index 100eeb1b..e36fe5b6 100644 --- a/docs/test_codeblocks_manifest.py +++ b/docs/test_codeblocks_manifest.py @@ -383,6 +383,9 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None: "ABXPKG_LIB_DIR": str(temp_dir / "system-lib"), }, ) + system_lib_dir = Path(snippet_env["ABXPKG_LIB_DIR"]) + system_lib_dir.mkdir(exist_ok=True) + system_lib_dir.chmod(0o777) snippet_env["PATH"] = os.pathsep.join( [ str(system_home / ".local" / "bin"),