Skip to content

Commit 62e95a4

Browse files
authored
build: Upgrade Gazelle to v0.31.0 (bazel-contrib#1240)
Gazelle v0.31.0 comes with a lifecycle manager for extension, allowing the Python extension to properly shut down external Python processes without relying on timer. Upgrading Gazelle in this PR. Using the lifecycle manager will come next.
1 parent 60c61e5 commit 62e95a4

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

gazelle/MODULE.bazel

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

77
bazel_dep(name = "rules_python", version = "0.18.0")
88
bazel_dep(name = "rules_go", version = "0.38.1", repo_name = "io_bazel_rules_go")
9-
bazel_dep(name = "gazelle", version = "0.29.0", repo_name = "bazel_gazelle")
9+
bazel_dep(name = "gazelle", version = "0.31.0", repo_name = "bazel_gazelle")
1010

1111
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
1212
go_deps.from_file(go_mod = "//:go.mod")

gazelle/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ Here is a snippet of a `MODULE.bazel` file.
3535

3636
```starlark
3737
# The following stanza defines the dependency rules_python.
38-
bazel_dep(name = "rules_python", version = "0.20.0")
38+
bazel_dep(name = "rules_python", version = "0.22.0")
3939

40-
# The following stanza defines the dependency rules_python.
40+
# The following stanza defines the dependency rules_python_gazelle_plugin.
4141
# For typical setups you set the version.
42-
bazel_dep(name = "rules_python_gazelle_plugin", version = "0.20.0")
42+
bazel_dep(name = "rules_python_gazelle_plugin", version = "0.22.0")
4343

44-
# The following stanza defines the dependency rules_python.
45-
bazel_dep(name = "gazelle", version = "0.30.0", repo_name = "bazel_gazelle")
44+
# The following stanza defines the dependency gazelle.
45+
bazel_dep(name = "gazelle", version = "0.31.0", repo_name = "bazel_gazelle")
4646

4747
# Import the python repositories generated by the given module extension into the scope of the current module.
4848
use_repo(python, "python3_9")

gazelle/WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ http_archive(
1313

1414
http_archive(
1515
name = "bazel_gazelle",
16-
sha256 = "448e37e0dbf61d6fa8f00aaa12d191745e14f07c31cabfa731f0c8e8a4f41b97",
16+
sha256 = "29d5dafc2a5582995488c6735115d1d366fcd6a0fc2e2a153f02988706349825",
1717
urls = [
18-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.28.0/bazel-gazelle-v0.28.0.tar.gz",
19-
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.28.0/bazel-gazelle-v0.28.0.tar.gz",
18+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.31.0/bazel-gazelle-v0.31.0.tar.gz",
19+
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.31.0/bazel-gazelle-v0.31.0.tar.gz",
2020
],
2121
)
2222

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy