Skip to content

Update dependency mboworks_bzl to v0.8.0 - #912

Merged
helly25 merged 2 commits into
masterfrom
renovate/mboworks_bzl-0.x
Oct 18, 2026
Merged

helly25 merged 2 commits into
masterfrom
renovate/mboworks_bzl-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

This PR contains the following updates:

Package Type Update Change
mboworks_bzl http_archive minor 0.7.0 → 0.8.0

Release Notes

mboworks/bzl (mboworks_bzl)

v0.8.0

Compare Source

  • Add versions.normalize_tuple and versions.normalize_string for grouping
    interleaved 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)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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>
@renovate

renovate Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

@helly25
helly25 merged commit d042e18 into master Oct 18, 2026
100 checks passed
@helly25
helly25 deleted the renovate/mboworks_bzl-0.x branch October 18, 2026 21:28
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>
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.

1 participant