Skip to content

Commit be87cf8

Browse files
authored
deps: Bump versions for rules_python 1.0.0 (#27)
Signed-off-by: Ryan Northey <[email protected]>
1 parent 91585df commit be87cf8

File tree

3 files changed

+24
-19
lines changed

3 files changed

+24
-19
lines changed

setup_extra.bzl

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
load("@envoy//bazel:python_dependencies.bzl", "envoy_python_dependencies")
22
load("@envoy//bazel:repo.bzl", "envoy_repo")
33
load("@envoy_toolshed//:packages.bzl", "load_website_packages")
4-
load("@python3_12//:defs.bzl", "interpreter")
54
load("@rules_python//python:pip.bzl", "pip_parse")
65

76
def setup_extra():
87
envoy_repo()
98
envoy_python_dependencies()
109
pip_parse(
1110
name = "envoy_apt_pip3",
12-
python_interpreter_target = interpreter,
11+
python_interpreter_target = "@python3_12_host//:python",
1312
requirements_lock = "//tools:requirements.txt",
1413
extra_pip_args = ["--require-hashes"],
1514
)

tools/fetch/BUILD

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
load("@envoy_apt_pip3//:requirements.bzl", "requirement", base_entry_point = "entry_point")
2-
load("@envoy_toolshed//py:macros.bzl", "entry_point")
1+
load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary")
32

4-
entry_point(
3+
py_console_script_binary(
54
name = "fetch",
6-
pkg = "envoy.base.utils",
5+
pkg = "@envoy_apt_pip3//envoy_base_utils",
76
script = "envoy.fetch",
8-
entry_point_alias = base_entry_point,
97
visibility = ["//visibility:public"],
108
)

versions.bzl

+20-12
Original file line numberDiff line numberDiff line change
@@ -41,32 +41,32 @@ VERSIONS = {
4141
"com_google_protobuf": {
4242
"type": "github_archive",
4343
"repo": "protocolbuffers/protobuf",
44-
"version": "26.1",
45-
"sha256": "4fc5ff1b2c339fb86cd3a25f0b5311478ab081e65ad258c6789359cd84d421f8",
44+
"version": "28.3",
45+
"sha256": "7c3ebd7aaedd86fa5dc479a0fda803f602caaf78d8aff7ce83b89e1b8ae7442a",
4646
"urls": ["https://github.com/{repo}/releases/download/v{version}/protobuf-{version}.tar.gz"],
4747
"strip_prefix": "protobuf-{version}",
4848
},
4949
"envoy": {
5050
"type": "github_archive",
5151
"repo": "envoyproxy/envoy",
52-
"version": "d3353c7999f661f8d15dcf80e594bad8d31980b5",
53-
"sha256": "32c05585933bc4e226f1c8843ccdc7949ef20d285431c5d1a50a4cbe0debcacf",
52+
"version": "cb46fd4ce20d38b647ac5ef3d5fb92d9146ccde6",
53+
"sha256": "dc7541573df4bc96f6ccbf058763ed457fb25a8fb205ae7de21d4f0f8bcc34a2",
5454
"urls": ["https://github.com/{repo}/archive/{version}.tar.gz"],
5555
"strip_prefix": "envoy-{version}",
5656
},
5757
"envoy_toolshed": {
5858
"type": "github_archive",
5959
"repo": "envoyproxy/toolshed",
60-
"version": "0.1.11",
61-
"sha256": "f868812bff7ae372e4b53d565ee75a999d33e09b2980cc0c3dfa40684f85bbda",
60+
"version": "0.2.0",
61+
"sha256": "ef5e95580c41f6805beec197d9a4f6683550f4bfc1e1c678449b6d205dbf000b",
6262
"urls": ["https://github.com/{repo}/archive/bazel-v{version}.tar.gz"],
6363
"strip_prefix": "toolshed-bazel-v{version}/bazel",
6464
},
6565
"envoy-website": {
6666
"type": "github_archive",
6767
"repo": "envoyproxy/envoy-website",
68-
"version": "e79ef05416554ab494d7427fbe5ceff78da4ea3e",
69-
"sha256": "5bd82c1c7bdd4e8bc063a9067bfef24e4aeba9716c1cc7a965ae4100cfcf80ea",
68+
"version": "4733bc4a16a1729e396999e75cd2be0912afb238",
69+
"sha256": "da3848be9d8a425ca25b7ae42f973520cf65838a71d60fdbe04f51c008917bcb",
7070
"urls": ["https://github.com/{repo}/archive/{version}.tar.gz"],
7171
"strip_prefix": "envoy-website-{version}",
7272
},
@@ -80,6 +80,14 @@ VERSIONS = {
8080
"https://github.com/{repo}/releases/download/v{version}/rules_go-v{version}.zip",
8181
],
8282
},
83+
"rules_cc": {
84+
"type": "github_archive",
85+
"repo": "bazelbuild/rules_cc",
86+
"version": "0.0.17",
87+
"sha256": "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1",
88+
"urls": ["https://github.com/{repo}/archive/refs/tags/{version}.tar.gz"],
89+
"strip_prefix": "rules_cc-{version}",
90+
},
8391
"rules_pkg": {
8492
"type": "github_archive",
8593
"repo": "bazelbuild/rules_pkg",
@@ -91,16 +99,16 @@ VERSIONS = {
9199
"rules_proto": {
92100
"type": "github_archive",
93101
"repo": "bazelbuild/rules_proto",
94-
"version": "6.0.2",
95-
"sha256": "6fb6767d1bef535310547e03247f7518b03487740c11b6c6adb7952033fe1295",
102+
"version": "7.0.2",
103+
"sha256": "0e5c64a2599a6e26c6a03d6162242d231ecc0de219534c38cb4402171def21e8",
96104
"urls": ["https://github.com/{repo}/archive/refs/tags/{version}.tar.gz"],
97105
"strip_prefix": "rules_proto-{version}",
98106
},
99107
"rules_python": {
100108
"type": "github_archive",
101109
"repo": "bazelbuild/rules_python",
102-
"version": "0.32.2",
103-
"sha256": "4912ced70dc1a2a8e4b86cec233b192ca053e82bc72d877b98e126156e8f228d",
110+
"version": "1.0.0",
111+
"sha256": "4f7e2aa1eb9aa722d96498f5ef514f426c1f55161c3c9ae628c857a7128ceb07",
104112
"urls": ["https://github.com/{repo}/archive/{version}.tar.gz"],
105113
"strip_prefix": "rules_python-{version}",
106114
},

0 commit comments

Comments
 (0)