Skip to content

Commit d0e597a

Browse files
committed
Include Python version in PyInstaller cache hash
1 parent 24f9f8c commit d0e597a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

iotdb-core/ainode/build_binary.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ def compute_source_hash(script_dir):
327327
"""
328328
hasher = hashlib.sha256()
329329

330+
# Include Python version so cache invalidates on interpreter upgrades
331+
hasher.update(sys.version.encode())
332+
330333
hash_targets = []
331334

332335
excluded_dirs = {"build", "dist", "__pycache__"}

0 commit comments

Comments
 (0)