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 8dce5b5 commit b0a7b4eCopy full SHA for b0a7b4e
temporalio/worker/_worker.py
@@ -633,7 +633,10 @@ def load_default_build_id(*, memoize: bool = True) -> str:
633
# * Using the loader's get_code in rare cases can cause a compile()
634
635
got_temporal_code = False
636
- m = hashlib.md5()
+ if sys.version_info < (3, 9):
637
+ m = hashlib.md5()
638
+ else:
639
+ m = hashlib.md5(usedforsecurity=False)
640
for mod_name in sorted(sys.modules):
641
# Try to read code
642
code = _get_module_code(mod_name)
0 commit comments