Repository navigation
Update dependency mboworks_bzl to v0.8.0 - #912
Merged
Merged
Conversation
renovate
Bot
requested review from
dzbarsky,
fmeum,
helly25,
jsharpe and
rrbutani
as code owners
October 18, 2026 18:29
Update the Bzlmod dependency to mboworks_bzl 0.8.0, matching the WORKSPACE archives updated by #912. Together these changes align every bzl version reference with the published release. ## AG;DR - One-line change: root MODULE.bazel moves mboworks_bzl from 0.5.1 to 0.8.0, resolved directly from BCR without overrides. - Stacked on #912 (`renovate/mboworks_bzl-0.x`), which already updates WORKSPACE and toolchain/deps.bzl. Merge #912 first, then this PR; synchronize #911 afterward so its diff contains the functionality changes. - No selector, prerelease-policy, normalization, or test-refactoring changes are included here. - Validation: full Bzlmod `bazel test //...` with Bazel 7.2.1, all three integration module graphs with Bazel 9.0.0, and Trunk lint passed. CI for this PR is pending and must be rechecked after its base retargets to master. Signed-off-by: helly25 <6420169+helly25@users.noreply.github.com>
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
helly25
added a commit
that referenced
this pull request
Oct 20, 2026
…e control (#911) Cleanup of expression-based LLVM and linker version selectors using bzl 0.8.0, with independent `llvm_version_allow_prereleases` and `linker_version_allow_prereleases` controls. This clean redo supersedes the closed #909. Mainly we are using the advanced/generalized bzl 0.8.0 functionality. NOTE: The two `*_allow_prereleases` are incompatible changes. They replace the old magic allowance by referencing in requirements. ## AG;DR - Share requirement parsing, SemVer comparisons, projection constants, filtering, and first/latest selection through bzl. Restrict candidates to compatible artifacts before selecting and preserve the chosen artifact alongside its version. - Both public prerelease flags default to false. Requirements always apply; exact pins remain authoritative. The generic `allow_prereleases` parameter exists only in internal resolver code and tests. - Use the same environment selector expansion for LLVM and catalogued linkers, including mold. Feature overrides inherit the flags independently; linker-only changes preserve LLVM archive sharing. - Replace `_version_string` with bzl `normalize_string`; existing distribution goldens remain unchanged. - Resolve bzl 0.8.0 directly from BCR in all four module roots, with no temporary overrides. Both WORKSPACE declarations use the published release archive. bazelbuild/bazel-central-registry#11173 is merged; the release dependency is satisfied. - Validation at synchronized head `c71ba5c`: all 45 toolchain tests passed in Bzlmod (Bazel 9.3.0) and all 45 passed in WORKSPACE mode (Bazel 8.8.1). All 14 Python wrapper tests and 11 distribution-script tests passed; Trunk buildifier/prettier checks passed. The three integration module graphs were previously validated at `1e1ea62` and were not rerun for this sync. - Remove the redundant distribution-version wrapper; both production callers use the existing parser directly. - Move all three LLVM distribution golden-output writers and their fixtures into `llvm_distributions_test.bzl`. Production code exposes one internal-only `testing` struct with eight helper references; existing test targets and golden files are unchanged. - Tests cover selector parity, prerelease pins, platform compatibility, environment fallbacks and errors, and independent feature-override policies. The complete bzl 0.8.0 dependency upgrade merged into master via #912 (including #913). This branch is synchronized with upstream master `6ceed3a`, including the dylib-linked tool wrapper fix (#914) and LLVM 23.1.4 catalogue update (#915). The prerelease golden conflict was resolved by preserving all expanded selector cases and updating only the catalogue-driven expectations to 23.1.4; synthetic fixtures are unchanged. Its diff against master contains only the selector functionality, tests, and documentation, plus removal of an obsolete dependency comment. --------- Signed-off-by: helly25 <6420169+helly25@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update all mboworks_bzl dependency declarations to the published 0.8.0 release. This isolates the dependency upgrade from the version-selector functionality in #911.
AG;DR
7f852e4, including the required-check gate.This PR contains the following updates:
0.7.0→0.8.0Release Notes
mboworks/bzl (mboworks_bzl)
v0.8.0Compare Source
Add
versions.normalize_tupleandversions.normalize_stringfor groupinginterleaved version suffixes with configurable string separators.
Add
runfiles.key(ctx, file)for constructing runtime lookup keys from Bazel files.Add stable version sorting, predicate filtering, earliest/latest selection with data-preserving
keys and caller-controlled prerelease filtering in every mode.
Automate README installation-version preparation and reject stale release references
during validation and release publication.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.