Skip to content

chore: update Bazel version to 8.6.0 and adjust module dependencies - #129

Merged
draganbjedov merged 1 commit into
eclipse-score:mainfrom
etas-contrib:upgrade
Aug 3, 2026
Merged

chore: update Bazel version to 8.6.0 and adjust module dependencies#129
draganbjedov merged 1 commit into
eclipse-score:mainfrom
etas-contrib:upgrade

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Recent score modules like docs-as-code are not compatible with bazel 8.5, so this PR upgrade to 8.6.

Background: trying to add itf as a downstream test repo for docs-as-code via eclipse-score/docs-as-code#680

Comment thread MODULE.bazel
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
module(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you removed version? Each module should have version.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, modules should not have a version. a version is defined by releasing / by bazel registry.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, only in root module you may omit the version according to bazel documentation:
https://bazel.build/rules/lib/globals/module#module

version string; default is ''
The version of the module. Can be omitted only if this module is the root module (as in, if it's not going to be depended on by another module). The version must be in a relaxed SemVer format; see the documentation for more details.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert changes for removing version

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the MODULE.bazel in the docs-as-code repo root and the score_docs_as_code MODULE.bazel in the registry. The registry overwrites the version according to git tags, so there is no point in writing anything there in the repo.

Removing the version is the right way, otherwise people would think that it matters what is in there.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Automation will set versions based on git tag used for creating release.

@draganbjedov
draganbjedov added this pull request to the merge queue Aug 3, 2026
Merged via the queue into eclipse-score:main with commit 63a3f10 Aug 3, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in TST - Testing Community Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants