<#218 Improve hash calculation for UV and Poetry p...
# flyte-github
a
#218 Improve hash calculation for UV and Poetry project layers Pull request opened by pingsutw ## Summary • Improves hash calculation for UV and Poetry project layers by hashing source code when project installation is enabled • Adds
--inexact
flag to uv sync commands for better reliability • Cleans up unused imports in _deploy.py ## Changes • UVProject: Now hashes the entire source directory when
--no-install-project
is not in extra_args, otherwise hashes just the lock and pyproject files • PoetryProject: Similar logic - hashes source directory when
--no-root
is not in extra_args • Docker templates: Added
--inexact
flag to uv sync commands for more robust dependency resolution • Code cleanup: Removed unused imports in _deploy.py flyteorg/flyte-sdk