From aef0b3541c8b832a1954dea52847ccc8754e7567 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Mon, 9 Dec 2024 06:12:42 -0800 Subject: [PATCH 1/3] Fix module path for bcr testing --- .bcr/extensions/bindgen/presubmit.yml | 2 +- .bcr/extensions/prost/presubmit.yml | 2 +- .bcr/extensions/protobuf/presubmit.yml | 2 +- .bcr/extensions/wasm_bindgen/presubmit.yml | 2 +- .github/release_notes.template | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bcr/extensions/bindgen/presubmit.yml b/.bcr/extensions/bindgen/presubmit.yml index b146237bd2..1db58cc1e3 100644 --- a/.bcr/extensions/bindgen/presubmit.yml +++ b/.bcr/extensions/bindgen/presubmit.yml @@ -1,5 +1,5 @@ bcr_test_module: - module_path: "extensions/bindgen" + module_path: "" matrix: platform: ["macos_arm64", "ubuntu2004", "windows"] bazel: ["7.x"] diff --git a/.bcr/extensions/prost/presubmit.yml b/.bcr/extensions/prost/presubmit.yml index 964d94a75c..1db58cc1e3 100644 --- a/.bcr/extensions/prost/presubmit.yml +++ b/.bcr/extensions/prost/presubmit.yml @@ -1,5 +1,5 @@ bcr_test_module: - module_path: "extensions/prost" + module_path: "" matrix: platform: ["macos_arm64", "ubuntu2004", "windows"] bazel: ["7.x"] diff --git a/.bcr/extensions/protobuf/presubmit.yml b/.bcr/extensions/protobuf/presubmit.yml index d25540d66a..1db58cc1e3 100644 --- a/.bcr/extensions/protobuf/presubmit.yml +++ b/.bcr/extensions/protobuf/presubmit.yml @@ -1,5 +1,5 @@ bcr_test_module: - module_path: "extensions/protobuf" + module_path: "" matrix: platform: ["macos_arm64", "ubuntu2004", "windows"] bazel: ["7.x"] diff --git a/.bcr/extensions/wasm_bindgen/presubmit.yml b/.bcr/extensions/wasm_bindgen/presubmit.yml index cb1a32fd67..1db58cc1e3 100644 --- a/.bcr/extensions/wasm_bindgen/presubmit.yml +++ b/.bcr/extensions/wasm_bindgen/presubmit.yml @@ -1,5 +1,5 @@ bcr_test_module: - module_path: "extensions/wasm_bindgen" + module_path: "" matrix: platform: ["macos_arm64", "ubuntu2004", "windows"] bazel: ["7.x"] diff --git a/.github/release_notes.template b/.github/release_notes.template index a9d0bec31a..364d850030 100644 --- a/.github/release_notes.template +++ b/.github/release_notes.template @@ -105,7 +105,7 @@ bazel_dep(name = "rules_rust_wasm_bindgen", version = "{version}") ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( - name = "rules_rust", + name = "rules_rust_wasm_bindgen", integrity = "sha256-{ext_wasm_bindgen_sha256_base64}", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust_wasm_bindgen-{version}.tar.gz"], ) From cd7eba95ec76054ebb61a3c3b8e8243405fa35fb Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Mon, 9 Dec 2024 06:14:33 -0800 Subject: [PATCH 2/3] Release 0.55.3 --- MODULE.bazel | 2 +- extensions/bindgen/MODULE.bazel | 4 ++-- extensions/prost/MODULE.bazel | 4 ++-- extensions/protobuf/MODULE.bazel | 4 ++-- extensions/wasm_bindgen/MODULE.bazel | 4 ++-- version.bzl | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index e7173be154..651f497aca 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -2,7 +2,7 @@ module( name = "rules_rust", - version = "0.55.2", + version = "0.55.3", ) ############################################################################### diff --git a/extensions/bindgen/MODULE.bazel b/extensions/bindgen/MODULE.bazel index dc286296aa..d775628ec4 100644 --- a/extensions/bindgen/MODULE.bazel +++ b/extensions/bindgen/MODULE.bazel @@ -2,12 +2,12 @@ module( name = "rules_rust_bindgen", - version = "0.55.2", + version = "0.55.3", ) bazel_dep( name = "rules_rust", - version = "0.55.2", + version = "0.55.3", ) local_path_override( module_name = "rules_rust", diff --git a/extensions/prost/MODULE.bazel b/extensions/prost/MODULE.bazel index e4bff34608..8ad3499b8c 100644 --- a/extensions/prost/MODULE.bazel +++ b/extensions/prost/MODULE.bazel @@ -2,12 +2,12 @@ module( name = "rules_rust_prost", - version = "0.55.2", + version = "0.55.3", ) bazel_dep( name = "rules_rust", - version = "0.55.2", + version = "0.55.3", ) local_path_override( module_name = "rules_rust", diff --git a/extensions/protobuf/MODULE.bazel b/extensions/protobuf/MODULE.bazel index 27e7f9d7e9..1940a7a68e 100644 --- a/extensions/protobuf/MODULE.bazel +++ b/extensions/protobuf/MODULE.bazel @@ -2,12 +2,12 @@ module( name = "rules_rust_protobuf", - version = "0.55.2", + version = "0.55.3", ) bazel_dep( name = "rules_rust", - version = "0.55.2", + version = "0.55.3", ) local_path_override( module_name = "rules_rust", diff --git a/extensions/wasm_bindgen/MODULE.bazel b/extensions/wasm_bindgen/MODULE.bazel index 46ef9ab4d5..39b056d9c1 100644 --- a/extensions/wasm_bindgen/MODULE.bazel +++ b/extensions/wasm_bindgen/MODULE.bazel @@ -2,12 +2,12 @@ module( name = "rules_rust_wasm_bindgen", - version = "0.55.2", + version = "0.55.3", ) bazel_dep( name = "rules_rust", - version = "0.55.2", + version = "0.55.3", ) local_path_override( module_name = "rules_rust", diff --git a/version.bzl b/version.bzl index 0b55c40b2e..9f356c0d3a 100644 --- a/version.bzl +++ b/version.bzl @@ -1,3 +1,3 @@ """The version of rules_rust.""" -VERSION = "0.55.2" +VERSION = "0.55.3" From d2667ab5b05ec313c5e3bd4fb41a13a1e75de159 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Mon, 9 Dec 2024 06:28:55 -0800 Subject: [PATCH 3/3] Drop Bazel 6 from bcr testing as it's not tested in normal CI --- .bcr/presubmit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index bafa8e2727..495bd87e61 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -2,7 +2,7 @@ bcr_test_module: module_path: "" matrix: platform: ["macos_arm64", "ubuntu2004"] - bazel: ["6.x", "7.x"] + bazel: ["7.x"] tasks: run_tests: working_directory: examples/bzlmod/hello_world @@ -21,7 +21,7 @@ bcr_test_module: bcr_test_module_windows: module_path: "" matrix: - bazel: ["6.x", "7.x"] + bazel: ["7.x"] tasks: run_tests: working_directory: examples/bzlmod/hello_world