Skip to content

Commit d14914e

Browse files
author
Blaze Rules Copybara
committed
Merge pull request #117 from rickeylev:upgrade.deps
PiperOrigin-RevId: 690878623
2 parents 744829a + da39cdc commit d14914e

File tree

2 files changed

+37
-16
lines changed

2 files changed

+37
-16
lines changed

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ bazel_dep(name = "rules_license", version = "0.0.4")
1414
# work with bzlmod enabled. This defines the repo so load() works.
1515
bazel_dep(
1616
name = "stardoc",
17-
version = "0.6.2",
17+
version = "0.7.1",
1818
dev_dependency = True,
1919
repo_name = "io_bazel_stardoc",
2020
)
21-
bazel_dep(name = "rules_python", version = "0.27.0", dev_dependency = True)
21+
bazel_dep(name = "rules_python", version = "0.37.2", dev_dependency = True)
2222

2323
python = use_extension(
2424
"@rules_python//python/extensions:python.bzl",

WORKSPACE.bazel

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ workspace(name = "rules_testing")
33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
55

6-
maybe(
7-
http_archive,
6+
http_archive(
7+
name = "rules_python",
8+
sha256 = "c6fb25d0ba0246f6d5bd820dd0b2e66b339ccc510242fd4956b9a639b548d113",
9+
strip_prefix = "rules_python-0.37.2",
10+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.37.2/rules_python-0.37.2.tar.gz",
11+
)
12+
13+
http_archive(
814
name = "rules_java",
9-
sha256 = "6f3ce0e9fba979a844faba2d60467843fbf5191d8ca61fa3d2ea17655b56bb8c",
15+
sha256 = "a9690bc00c538246880d5c83c233e4deb83fe885f54c21bb445eb8116a180b83",
1016
urls = [
11-
"https://github.com/bazelbuild/rules_java/releases/download/7.11.1/rules_java-7.11.1.tar.gz",
17+
"https://github.com/bazelbuild/rules_java/releases/download/7.12.2/rules_java-7.12.2.tar.gz",
1218
],
1319
)
1420

@@ -24,13 +30,33 @@ maybe(
2430

2531
http_archive(
2632
name = "io_bazel_stardoc",
27-
sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432",
33+
sha256 = "fabb280f6c92a3b55eed89a918ca91e39fb733373c81e87a18ae9e33e75023ec",
2834
urls = [
29-
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
30-
"https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
35+
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz",
36+
"https://github.com/bazelbuild/stardoc/releases/download/0.7.1/stardoc-0.7.1.tar.gz",
3137
],
3238
)
3339

40+
http_archive(
41+
name = "rules_cc",
42+
sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80",
43+
strip_prefix = "rules_cc-0.0.13",
44+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz"],
45+
)
46+
47+
http_archive(
48+
name = "protobuf",
49+
sha256 = "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa",
50+
strip_prefix = "protobuf-27.0",
51+
url = "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz",
52+
)
53+
54+
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
55+
56+
rules_java_dependencies()
57+
58+
rules_java_toolchains()
59+
3460
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
3561

3662
stardoc_repositories()
@@ -52,14 +78,9 @@ http_archive(
5278
],
5379
)
5480

55-
http_archive(
56-
name = "rules_python",
57-
sha256 = "a644da969b6824cc87f8fe7b18101a8a6c57da5db39caa6566ec6109f37d2141",
58-
strip_prefix = "rules_python-0.20.0",
59-
url = "https://github.com/bazelbuild/rules_python/releases/download/0.20.0/rules_python-0.20.0.tar.gz",
60-
)
81+
load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")
6182

62-
load("@rules_python//python:repositories.bzl", "python_register_toolchains")
83+
py_repositories()
6384

6485
python_register_toolchains(
6586
name = "python3_11",

0 commit comments

Comments
 (0)