Skip to content

Bring testing for bzlmod vs. non-bzlmod up to date with bazel features#1029

Merged
tonyaiuto merged 1 commit intobazelbuild:mainfrom
aiuto:bmod
Feb 22, 2026
Merged

Bring testing for bzlmod vs. non-bzlmod up to date with bazel features#1029
tonyaiuto merged 1 commit intobazelbuild:mainfrom
aiuto:bmod

Conversation

@tonyaiuto
Copy link
Collaborator

@tonyaiuto tonyaiuto commented Feb 19, 2026

Bring testing for bzlmod vs. non-bzlmod up to date with bazel features.

Head and LTS have bzlmod enabled by default, so:

  • stop enabling the flag explicitly

  • stop calling out "bzlmod" in the test name, that is now assumed, only nobzlmod needs naming

  • Do the packaging test against workspace only for bazel 7 and earlier.

    • we probably could drop the workspace test entirely. It is essentially meaningless now

This is a spin out from a followup PR to #1027. //distro:packaging_test was failing on workspace tests while using bazel 8.x. Since that seemed strange, I decided to clean this up now, to get a little better prepared for the day that --enable_bzlmod is no longer a valid flag.

Head and LTS have bzlmod enabled by default, so:
- stop enabling the flag explicitly
- stop calling out "bzlmod" in the test name, that is now assumed, only nobzlmod needs naming

- Do the packaging test against workspace only for bazel 7 and earlier.
  - we probably could drop the workspace test entirely. It is essentially meaningless now
@tonyaiuto tonyaiuto marked this pull request as ready for review February 19, 2026 03:30
@tonyaiuto tonyaiuto merged commit 0343f01 into bazelbuild:main Feb 22, 2026
6 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.

3 participants