- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 289
Update dependencies in preparation for v7.1.3 #1778
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
Update dependencies in preparation for v7.1.3 #1778
Conversation
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.
| @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  | 
There was a problem hiding this 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
| "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", | ||
| }, | 
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
Description
Updates the following Bazel dependency versions:
.bazelversion: 7.6.1 => 7.6.2bazel_skylib: 1.8.1 => 1.8.2golang.org/x/tools: 0.37.0 => 0.38.0protobuf: v32.1 => v33.0//:protocfrom language runtimes protocolbuffers/protobuf#19679, so we keep patching.rules_cc: 0.2.8 => 0.2.10rules_go: 0.57.0 => bazel-contrib/rules_go@74199c92Factsfromlast_greenBazel does not have a.clear()method rules_go#4480.rules_java: 8.15.2 => 8.16.1WORKSPACEfiles to invokebazel_features_depsbeforerules_java_dependencies, required sincerules_java8.16.0.bazel_features1.37.0 torules_scala_dependenciesfromlatest_deps.bzlas an explicit dependency to enable the dependency setup macro reordering.rules_python: 1.6.1 => 1.6.3Updates the following Maven artifact versions, with
scripts/create_repository.pyhaving generated the changes tothird_party/repositories/scala_*.bzl:com.google.api.grpc:proto-google-common-protos: 2.61.1 => 2.62.0com.google.guava:guava: 33.4.8-jre => 33.5.0-jrecom.google.protobuf:protobuf-java: 4.32.1 => 4.33.0com.thesamet.scalapb:scalapb-runtime_*: 1.0.0-alpha.2 =>1.0.0-alpha.3
io.grpc:grpc-api: 1.75.0 => 1.76.0org.scala-lang.modules:scala-parser-combinators_*: 1.1.2 => 2.4.0scripts/create_repository.pyto keep the Scala 2.11 version ofscala-parser-combinatorsat version 1.1.2org.scala-sbt:compiler-interface: 1.10.1 => 1.11.0org.scala-sbt:util-interface: 1.11.6 => 1.11.7org.scalameta:scalafmt-*: 3.9.9 => 3.10.1versionin all the**.scalafmt*.conffiles to match.org.typelevel:kind-projector_*: 0.13.3 => 0.13.4Motivation
This is in preparation for releasing v7.1.3, which will also contain the Scala 3.3.7 update from #1777.