Skip to content

Fix uv export missing --no-emit-workspace in CI entrypoint#64020

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-uv-export-no-emit-workspace
Mar 21, 2026
Merged

Fix uv export missing --no-emit-workspace in CI entrypoint#64020
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-uv-export-no-emit-workspace

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Mar 21, 2026

Summary

  • Add --no-emit-workspace flag to uv export in entrypoint_ci.sh

Without --no-emit-workspace, the constraint file generated by uv export
included workspace packages, which forced installation of newer versions of
dependencies (e.g. pyiceberg) into the shared UV cache. When multiple parallel
CI tasks ran simultaneously, this caused installation lock contention in the
distributed UV cache, leading to intermittent failures.

Adding --no-emit-workspace ensures only external dependencies are emitted
in the constraint file, avoiding unnecessary package resolution that
interferes with parallel task execution.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.6

Generated-by: Claude Opus 4.6 following the guidelines

…l lock issues

Without `--no-emit-workspace`, the constraint file generated by
`uv export` included workspace packages which forced installation
of newer versions of dependencies like pyiceberg into the shared
UV cache. When multiple parallel CI tasks ran simultaneously, this
caused installation lock contention in the distributed UV cache.

Adding `--no-emit-workspace` ensures only external dependencies
are emitted in the constraint file, avoiding unnecessary package
resolution that interferes with parallel task execution.
@potiuk potiuk merged commit b1a69ea into apache:main Mar 21, 2026
279 of 280 checks passed
@potiuk potiuk deleted the fix-uv-export-no-emit-workspace branch March 21, 2026 08:38
fat-catTW pushed a commit to fat-catTW/airflow that referenced this pull request Mar 22, 2026
…l lock issues (apache#64020)

Without `--no-emit-workspace`, the constraint file generated by
`uv export` included workspace packages which forced installation
of newer versions of dependencies like pyiceberg into the shared
UV cache. When multiple parallel CI tasks ran simultaneously, this
caused installation lock contention in the distributed UV cache.

Adding `--no-emit-workspace` ensures only external dependencies
are emitted in the constraint file, avoiding unnecessary package
resolution that interferes with parallel task execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants