fix(01): keep bundled Python commands from writing bytecode caches

This commit is contained in:
UnixNight committed 2026-11-14 16:53:30 -05:00
1 parent 23ee1c2e47
commit 2fe8b40ea5
5 files changed
+22

No files matched your search

+5
View File
@@ -15,9 +15,14 @@ from pathlib import Path
import re
import shutil
import subprocess
import sys
import tempfile
from urllib.parse import quote, unquote, urlsplit
# A bundled CLI must not create bytecode inside the sealed checkpoint.
if __name__ == '__main__':
sys.dont_write_bytecode = True
from fidelity_receipts import (MAX_JSON_BYTES, canonical_bytes, contained_path,
identify_file, read_json, read_receipt, separated_roots,
validate_receipt)