Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rules_java > 7.2.0 incorrectly states it is compatible with Bazel >= 6.4.0 #159

Closed
SanjayVas opened this issue Dec 6, 2023 · 1 comment

Comments

@SanjayVas
Copy link

The bazel_compatibility attribute in MODULE.bazel contains >=6.4.0, but it is actually not compatible with 6.4.0. The last version that is compatible with 6.4.0 is rules_java@7.2.0.

See #151 (comment)

copybara-service bot pushed a commit that referenced this issue Dec 21, 2023
BEGIN_PUBLIC

Bump version to 7.3.2 for rules_java release

Also bumps the bazel compatibility version (see #159)

END_PUBLIC

PiperOrigin-RevId: 592856710
Change-Id: I0dca14bc8057238158ed6d3a0e25f1f2443bc94c
@hvadehra
Copy link
Member

Fixed from v7.3.2 onwards

vorburger added a commit to vorburger/enola that referenced this issue Jan 17, 2024
Originally motivated by bazelbuild/bazel#18743,
in the context of salesforce/bazel-vscode-java#85,

but as noted in bazelbuild/rules_java#159
from enola-dev#427 I can't go to 7.3.2
just yet - but bumping at least already to 7.2.0 is a first step!
vorburger added a commit to vorburger/enola that referenced this issue Jan 17, 2024
Originally motivated by bazelbuild/bazel#18743,
in the context of salesforce/bazel-vscode-java#85,

but as noted in bazelbuild/rules_java#159
from enola-dev#427 I can't go to 7.3.2
just yet - but bumping at least already to 7.2.0 is a first step!
vorburger added a commit to enola-dev/enola that referenced this issue Jan 17, 2024
Originally motivated by bazelbuild/bazel#18743,
in the context of salesforce/bazel-vscode-java#85,

but as noted in bazelbuild/rules_java#159
from #427 I can't go to 7.3.2
just yet - but bumping at least already to 7.2.0 is a first step!
JasonSteving99 added a commit to JasonSteving99/claro-lang that referenced this issue May 1, 2024
Unfortunately, the presubmits for the latest PR to Bzlmod failed with some
mysterious Turbine error that's apparently been addressed by the latest
rules_java. It turns out that although Java support is built into Bazel,
you can separately update the java_* rule implementations without updating
to a later Bazel version by placing a Module dep on rules_java. This is new
info, but good to know. I chose rules_java@7.2.0 b/c apparently that's the
latest version that actually supports Bazel 6.4.0 which Claro currently targets.

- bazelbuild/bazel-central-registry#1901
- https://buildkite.com/bazel/bcr-presubmit/builds/5034#018f2bc7-7567-42c9-95df-814fc11b561c
- bazelbuild/rules_java#159
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

No branches or pull requests

2 participants