Skip to content

Commit 9d59087

Browse files
authored
chore: bump bazel-lib to pick up bazel 9 fix (#2432)
need bazel-contrib/bazel-lib@772d605 Might green up Bazel 9 downstream tests - see bazelbuild/bazel-central-registry#6402 However #2431 adds Bazel 9 testing to our own presubmit.
1 parent 3655c5f commit 9d59087

File tree

6 files changed

+41
-9
lines changed

6 files changed

+41
-9
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module(
88

99
# Lower-bounds (minimum) versions for direct runtime dependencies.
1010
# Do not bump these unless rules_js requires a newer version to function.
11-
bazel_dep(name = "aspect_bazel_lib", version = "2.16.0") # TODO(alexeagle): remove
11+
bazel_dep(name = "aspect_bazel_lib", version = "2.17.1") # TODO(alexeagle): remove
1212
bazel_dep(name = "aspect_tools_telemetry", version = "0.2.8")
1313
bazel_dep(name = "bazel_features", version = "1.9.0")
1414
bazel_dep(name = "bazel_lib", version = "3.0.0")

e2e/bzlmod/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ local_path_override(
1010
path = "other_module",
1111
)
1212

13-
bazel_dep(name = "aspect_bazel_lib", version = "2.16.0", dev_dependency = True)
13+
bazel_dep(name = "aspect_bazel_lib", version = "2.17.1", dev_dependency = True)
1414
bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True)
1515
bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True)
1616

e2e/js_image_oci/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local_path_override(
55
)
66

77
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7", dev_dependency = True)
8-
bazel_dep(name = "container_structure_test", version = "1.16.0", dev_dependency = True)
8+
bazel_dep(name = "container_structure_test", version = "1.21.1", dev_dependency = True)
99
bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True)
1010
bazel_dep(name = "rules_nodejs", version = "6.3.0", dev_dependency = True)
1111
bazel_dep(name = "rules_oci", version = "2.0.0-alpha2", dev_dependency = True)

e2e/js_image_oci/WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ oci_pull(
7272
###
7373
http_archive(
7474
name = "container_structure_test",
75-
integrity = "sha256-LaE9pMT+ydRifUCEsSK+D00Ri9At+lKFf/EY/eiOT6o=",
76-
strip_prefix = "container-structure-test-1.16.0",
77-
urls = ["https://github.com/GoogleContainerTools/container-structure-test/archive/v1.16.0.zip"],
75+
integrity = "sha256-OMqpuKY7sUCbrYDJu0X61plG1mJWTZ24JeDYPjmCFXc=",
76+
strip_prefix = "container-structure-test-1.21.1",
77+
urls = ["https://github.com/GoogleContainerTools/container-structure-test/archive/v1.21.1.zip"],
7878
)
7979

8080
load("@container_structure_test//:repositories.bzl", "container_structure_test_register_toolchain")

e2e/stamped_package_json/WORKSPACE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ local_repository(
33
path = "../..",
44
)
55

6+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
7+
8+
http_archive(
9+
name = "package_metadata",
10+
sha256 = "7446b71263039c7a5e90c4a069fd4c090e12a1a6c69a20eb4cd76034d610beb6",
11+
strip_prefix = "supply-chain-0.0.1/metadata",
12+
url = "https://github.com/bazel-contrib/supply-chain/releases/download/v0.0.1/supply-chain-v0.0.1.tar.gz",
13+
)
14+
615
load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
716

817
rules_js_dependencies()

js/repositories.bzl

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,34 @@ def rules_js_dependencies():
2727

2828
http_archive(
2929
name = "aspect_bazel_lib",
30-
sha256 = "fc8fe1be58ae39f84a8613d554534760c7f0819d407afcc98bbcbd990523bfed",
31-
strip_prefix = "bazel-lib-2.16.0",
32-
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.16.0/bazel-lib-v2.16.0.tar.gz",
30+
sha256 = "e5131e44db23459bd1ed04635f2ae5436bc83f5e38629e07b75c0bf206f09245",
31+
strip_prefix = "bazel-lib-2.17.1",
32+
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.17.1/bazel-lib-v2.17.1.tar.gz",
3333
)
3434

35+
# Transitive dependencies of aspect_bazel_lib.
36+
# Prior to upgrading bazel-lib past 2.16.0, users didn't need to call the bazel_lib_dependencies function.
37+
# We include them here to avoid breakages for users who may have been relying on the implicit presence of these dependencies.
38+
http_archive(
39+
name = "tar.bzl",
40+
sha256 = "8710443803496e1b9b5b66f56ae55aa586338cb09a4ddeb9bb3d6df4e6da44c7",
41+
strip_prefix = "tar.bzl-0.2.0",
42+
url = "https://github.com/alexeagle/tar.bzl/releases/download/v0.2.0/tar.bzl-v0.2.0.tar.gz",
43+
)
44+
http_archive(
45+
name = "jq.bzl",
46+
sha256 = "7b63435aa19cc6a0cfd1a82fbdf2c7a2f0a94db1a79ff7a4469ffa94286261ab",
47+
strip_prefix = "jq.bzl-0.1.0",
48+
url = "https://github.com/bazel-contrib/jq.bzl/releases/download/v0.1.0/jq.bzl-v0.1.0.tar.gz",
49+
)
50+
http_archive(
51+
name = "rules_shell",
52+
sha256 = "e6b87c89bd0b27039e3af2c5da01147452f240f75d505f5b6880874f31036307",
53+
strip_prefix = "rules_shell-0.6.1",
54+
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.6.1/rules_shell-v0.6.1.tar.gz",
55+
)
56+
# End aspect_bazel_lib transitive dependencies
57+
3558
http_archive(
3659
name = "bazel_lib",
3760
sha256 = "6fd3b1e1a38ca744f9664be4627ced80895c7d2ee353891c172f1ab61309c933",

0 commit comments

Comments
 (0)