acoustic-carpenter-78188
06/26/2026, 12:42 AM0.1.dev1+... even though the workflow set SETUPTOOLS_SCM_PRETEND_VERSION="9.9.9.dev". See this run — final uv pip list shows flyte 0.1.dev1+gfc78c9342.
Root cause: each run: block is its own shell, so the per-step export only applied inside the "Install flyte & Build wheel" step. But the flyte that the tests actually import is built from source by uv in other steps, where the var was unset:
| Step | Builds flyte as |
| ----------------------------------- | ------------------------------------------------------ |
| uv sync (in setup-python-env) | 0.1.dev1 |
| make dist (var was set here) | 9.9.9.dev0 wheel → written to dist/, never installed |
| uv pip install "../[examples-test]" | rebuilds → 0.1.dev1 ← final installed version |
The 0.1 fallback comes from actions/checkout@v4 fetching shallow with --no-tags, so setuptools_scm/vcs-versioning finds no tag and uses its default 0.1.dev<distance>.
What
• Promote SETUPTOOLS_SCM_PRETEND_VERSION to a job-level env: so it applies to every uv build of flyte (sync, make dist, and the examples-test reinstall).
• Use the global var (not ..._FOR_FLYTE) — the vcs-versioning fork in this repo does not honor the package-specific variant.
• Normalize the value to 9.9.9.dev0 to drop the Normalizing '9.9.9.dev' to '9.9.9.dev0' warning.
• Remove the now-redundant per-step export.
Test
The Integration Tests workflow runs on changes to .github/workflows/integration_tests.yml, so this PR exercises the path. After the change, the source builds of flyte should report 9.9.9.dev0 in uv pip list.
flyteorg/flyte-sdkacoustic-carpenter-78188
06/26/2026, 5:18 PM