Skip to content

fix: preserve venv symlink setting in exec config - #4372

Merged
aignas merged 1 commit into
bazel-contrib:mainfrom
finn-ball:fix/universal-venvs-use-declare-symlink
Oct 28, 2026
Merged

aignas merged 1 commit into
bazel-contrib:mainfrom
finn-ball:fix/universal-venvs-use-declare-symlink

Conversation

@finn-ball

Copy link
Copy Markdown
Contributor

Bazel 10 excludes target-scoped Starlark settings from exec configurations, so an explicit venvs_use_declare_symlink=no can reset to yes for Python executables built as tools. Give the flag universal scope to preserve the selected value across exec transitions.

@aignas
aignas added this pull request to the merge queue Oct 28, 2026
Merged via the queue into bazel-contrib:main with commit 05916c1 Oct 28, 2026
13 checks passed
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