#1321 fix: sync local sys paths for deploy
Pull request opened by
nightcityblade
Fixes
flyteorg/flyte#7675
Summary
• persist bundle-relative local import paths in deployed task environments
• honor the no-sync-local-sys-paths configuration for deploys
• keep the original task environment variables unchanged
Testing
• uv run python -m pytest tests/flyte/test_deploy.py -q (24 passed)
• uv run python -m ruff check src/flyte/_deploy.py tests/flyte/test_deploy.py
• uv run python -m ruff format --check src/flyte/_deploy.py tests/flyte/test_deploy.py
flyteorg/flyte-sdk