Is there a better way to upgrade the bats-* dependencies than patching the the MODULE.bazel file?
This doesn't seem to pull the newer version
bazel_dep(name = "bazel_bats", version = "0.37.0")
bazel_bats = use_extension("@bazel_bats//:extensions.bzl", "bazel_bats_deps")
bazel_bats.bats_core(
sha256 = "c590e619313f3227c06541b00deb6074680b8922",
version = "1.12.0",
)
use_repo(bazel_bats, "bats_core")
So I'm currently doing a single_version_override with this patch
diff --git a/MODULE.bazel b/MODULE.bazel
index 105048f..86e2d8d 100644
--- MODULE.bazel
+++ MODULE.bazel
@@ -14,10 +14,10 @@ bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_bats = use_extension(":extensions.bzl", "bazel_bats_deps")
-BATS_ASSERT_VERSION = "2.0.0"
-BATS_ASSERT_SHA256 = "15dbf1abb98db785323b9327c86ee2b3114541fe5aa150c410a1632ec06d9903"
-BATS_CORE_VERSION = "1.7.0"
-BATS_CORE_SHA256 = "ac70c2a153f108b1ac549c2eaa4154dea4a7c1cc421e3352f0ce6ea49435454e"
+BATS_ASSERT_VERSION = "2.2.4"
+BATS_ASSERT_SHA256 = "e305df20c4c36cba4570e10f1cd824efb1ae71d88b5ef474550781ebee04192f"
+BATS_CORE_VERSION = "1.12.0"
+BATS_CORE_SHA256 = "e36b020436228262731e3319ed013d84fcd7c4bd97a1b34dee33d170e9ae6bab"
BATS_SUPPORT_VERSION = "0.3.0"
BATS_SUPPORT_SHA256 = "7815237aafeb42ddcc1b8c698fc5808026d33317d8701d5ec2396e9634e2918f"
which is a bit clunky
Is there a better way to upgrade the bats-* dependencies than patching the the MODULE.bazel file?
This doesn't seem to pull the newer version
So I'm currently doing a
single_version_overridewith this patchwhich is a bit clunky