Repository: quantumlib/qsim (language: python)

Issue:
build broken by bazel breaking change
Builds are currently broken on the latest bazel version, courtesy of https://github.com/bazelbuild/bazel/issues/8622.

Hoping to have a fix up later today to enable the v0.14.1 release.


Discussion / hints:

Fix patch:
diff --git a/WORKSPACE b/WORKSPACE
index 20a200ae..f8502276 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,10 +1,19 @@
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
+http_archive(
+    name = "platforms",
+    urls = [
+        "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
+        "https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
+    ],
+    sha256 = "5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca",
+)
+
 http_archive(
     name = "com_google_googletest",
-    sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86",
-    strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb",
-    url = "https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb.zip",
+    sha256 = "ab78fa3f912d44d38b785ec011a25f26512aaedc5291f51f3807c592b506d33a",
+    strip_prefix = "googletest-58d77fa8070e8cec2dc1ed015d66b454c8d78850",
+    url = "https://github.com/google/googletest/archive/58d77fa8070e8cec2dc1ed015d66b454c8d78850.zip",
 )
 
 # Required for testing compatibility with TF Quantum:


Test patch:
diff --git a/tests/BUILD b/tests/BUILD
index a6c05c96..eda93a3e 100644
--- a/tests/BUILD
+++ b/tests/BUILD
@@ -15,7 +15,7 @@ windows_avx512_copts = [
 
 config_setting(
     name = "windows",
-    constraint_values = ["@bazel_tools//platforms:windows"],
+    constraint_values = ["@platforms//os:windows"],
 )
 
 cc_test(