We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be24ff0 commit 4bb41b2Copy full SHA for 4bb41b2
Tools/jit/_targets.py
@@ -72,6 +72,9 @@ def _compute_digest(self) -> str:
72
hasher.update((self.pyconfig_dir / "pyconfig.h").read_bytes())
73
for dirpath, _, filenames in sorted(os.walk(TOOLS_JIT)):
74
for filename in filenames:
75
+ # Exclude .pyc files from digest computation to ensure reproducible builds.
76
+ if filename.endswith(".pyc"):
77
+ continue
78
hasher.update(pathlib.Path(dirpath, filename).read_bytes())
79
return hasher.hexdigest()
80
0 commit comments