fix(01): keep bundled Python commands from writing bytecode caches
This commit is contained in:
1 parent
23ee1c2e47
commit
2fe8b40ea5
5 files changed
+22
No files matched your search
@@ -14,6 +14,10 @@ import subprocess
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
# A bundled CLI must not create bytecode inside the sealed checkpoint.
|
||||
if __name__ == '__main__':
|
||||
sys.dont_write_bytecode = True
|
||||
|
||||
from fidelity_receipts import (canonical_bytes, contained_path, identify_file,
|
||||
identify_tree, read_json, relative_name, separated_roots, source_identity,
|
||||
utc_now, validate_receipt, validate_scenario_contract, verify_inventory,
|
||||
|
||||
Reference in new issue
Block a user