Skip to content

Conversation

@mbland
Copy link
Collaborator

@mbland mbland commented Oct 19, 2025

Description

Updates the following Bazel dependency versions:

Updates the following Maven artifact versions, with scripts/create_repository.py having generated the changes to third_party/repositories/scala_*.bzl:

  • com.google.api.grpc:proto-google-common-protos: 2.61.1 => 2.62.0
  • com.google.guava:guava: 33.4.8-jre => 33.5.0-jre
  • com.google.protobuf:protobuf-java: 4.32.1 => 4.33.0
  • com.thesamet.scalapb:scalapb-runtime_*: 1.0.0-alpha.2 =>
    1.0.0-alpha.3
  • io.grpc:grpc-api: 1.75.0 => 1.76.0
  • org.scala-lang.modules:scala-parser-combinators_*: 1.1.2 => 2.4.0
    • Adds logic to scripts/create_repository.py to keep the Scala 2.11 version of scala-parser-combinators at version 1.1.2
  • org.scala-sbt:compiler-interface: 1.10.1 => 1.11.0
  • org.scala-sbt:util-interface: 1.11.6 => 1.11.7
  • org.scalameta:scalafmt-*: 3.9.9 => 3.10.1
    • Updates version in all the **.scalafmt*.conf files to match.
  • org.typelevel:kind-projector_*: 0.13.3 => 0.13.4

Motivation

This is in preparation for releasing v7.1.3, which will also contain the Scala 3.3.7 update from #1777.

Updates the following Bazel dependency versions:

- `.bazelversion`: 7.6.1 => 7.6.2
- Go: 1.25.1 => 1.25.3
- `bazel_skylib`: 1.8.1 => 1.8.2
- `golang.org/x/tools`: 0.37.0 => 0.38.0
- `protobuf`: v32.1 => v33.0
  - Still missing protocolbuffers/protobuf#19679, so we keep patching.
- `rules_cc`: 0.2.8 => 0.2.10
- `rules_go`: 0.57.0 => bazel-contrib/rules_go@74199c92
  - This is a temporary workaround for bazel-contrib/rules_go#4480.
- `rules_java`: 8.15.2 => 8.16.1
  - Updates all legacy `WORKSPACE` files to invoke `bazel_features_deps`
      _before_ `rules_java_dependencies`, required since `rules_java`
      8.16.0.
  - Adds `bazel_features` 1.37.0 to `rules_scala_dependencies` from
      `latest_deps.bzl` as an explicit dependency to enable the
      dependency setup macro reordering.
- `rules_python`: 1.6.1 => 1.6.3

Updates the following Maven artifact versions, with
`scripts/create_repository.py` having generated the changes to
`third_party/repositories/scala_*.bzl`:

- `com.google.api.grpc:proto-google-common-protos`: 2.61.1 => 2.62.0
- `com.google.guava:guava`: 33.4.8-jre => 33.5.0-jre
- `com.google.protobuf:protobuf-java`: 4.32.1 => 4.33.0
- `com.thesamet.scalapb:scalapb-runtime_*`: 1.0.0-alpha.2 =>
    1.0.0-alpha.3
- `io.grpc:grpc-api`: 1.75.0 => 1.76.0
- `org.scala-lang.modules:scala-parser-combinators_*`: 1.1.2 => 2.4.0
  - Adds logic to `scripts/create_repository.py` to keep the Scala 2.11
      version of `scala-parser-combinators` at version 1.1.2
- `org.scala-sbt:compiler-interface`: 1.10.1 => 1.11.0
- `org.scala-sbt:util-interface`: 1.11.6 => 1.11.7
- `org.scalameta:scalafmt-*`: 3.9.9 => 3.10.1
  - Updates `version` in all the `**.scalafmt*.conf` files to match.
- `org.typelevel:kind-projector_*`: 0.13.3 => 0.13.4

---

This is in preparation for releasing v7.1.3, which will also contain the
Scala 3.3.7 update from bazel-contrib#1777.
@mbland
Copy link
Collaborator Author

mbland commented Oct 20, 2025

@WojciechMazur @simuons If you're OK with this pull request as-is, please feel free to merge it and push a new v7.1.3 tag publish a new release.

It's a big change, but it's almost all mechanical, except for the change to scripts/create_repository.py to keep the Scala 2.11 version of scala-parser-combinators at version 1.1.2

Copy link
Collaborator

@WojciechMazur WojciechMazur left a comment

Choose a reason for hiding this comment

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

All looks good to me, thank you for keeping repo up to date!
And sorry for late review

Comment on lines 227 to 230
"io_bazel_rules_scala_scala_library_2": {
"artifact": "org.scala-lang:scala-library:2.13.16",
"sha256": "1ebb2b6f9e4eb4022497c19b1e1e825019c08514f962aaac197145f88ed730f1",
"artifact": "org.scala-lang:scala-library:2.13.17",
"sha256": "b7822c4225243215f185925724a6edff92cf18777a136cc738276c4446fac76c",
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Side note:
This naming would become quite unfortunate soon with Scala 3.8 - we'd need to hava io_bazel_rules_scala_scala_library_2 (for backward source compatibility) which would provide org.scala-lang:scala-library:3.8.0 artifacts
Luckilly the io_bazel_rules_scala_scala_library_2 would still be unchanged...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Going to have to lean on your expertise for that one. 😉 Plus, I wonder how the potential move to rules_jvm_external based toolchain dependency repos per #1775 might play into our plans here.

@mbland mbland merged commit 9bc9344 into bazel-contrib:master Oct 20, 2025
1 check passed
@mbland mbland deleted the version-bumps-v7.1.3-last-green-fix branch October 20, 2025 22:01
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.

2 participants