Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency toolchains_protoc to v0.3.7 #1600

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 22, 2025

This PR contains the following updates:

Package Type Update Change
toolchains_protoc bazel_dep patch 0.3.6 -> 0.3.7

Release Notes

aspect-build/toolchains_protoc (toolchains_protoc)

v0.3.7

Using Bzlmod with Bazel 6 or later

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "toolchains_protoc", version = "0.3.7")

### Optional: choose a version of protoc rather than the latest.
protoc = use_extension("@​toolchains_protoc//protoc:extensions.bzl", "protoc")
protoc.toolchain(

### Creates a repository to satisfy well-known-types dependencies such as
### deps=["@​com_google_protobuf//:any_proto"]
    google_protobuf = "com_google_protobuf",

### Pin to any version of protoc
    version = "v26.0",
)
use_repo(protoc, "com_google_protobuf", "toolchains_protoc_hub")

register_toolchains("@​toolchains_protoc_hub//:all")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "toolchains_protoc",
    sha256 = "ba6c8a455e12117dcafb321b063a2485a76a695cc7d108e8b86daf2e24d99127",
    strip_prefix = "toolchains_protoc-0.3.7",
    url = "https://github.com/aspect-build/toolchains_protoc/releases/download/v0.3.7/toolchains_protoc-v0.3.7.tar.gz",
)

######################

### toolchains_protoc setup #
######################

### Fetches the toolchains_protoc dependencies.
### If you want to have a different version of some dependency,

### you should fetch it *before* calling this.
### Alternatively, you can skip calling this function, so long as you've

### already fetched all the dependencies.
load("@​toolchains_protoc//protoc:repositories.bzl", "rules_protoc_dependencies")

rules_protoc_dependencies()

load("@​rules_proto//proto:repositories.bzl", "rules_proto_dependencies")

rules_proto_dependencies()

load("@​bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@​toolchains_protoc//protoc:toolchain.bzl", "protoc_toolchains")

protoc_toolchains(
    name = "protoc_toolchains",
    version = "v25.3",
)

What's Changed

New Contributors

Full Changelog: aspect-build/toolchains_protoc@v0.3.6...v0.3.7


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants