Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion examples/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ bazel_dep(name = "rules_java", version = "8.6.3")
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "rules_python", version = "1.0.0")
bazel_dep(name = "rules_go", version = "0.52.0")
bazel_dep(name = "rules_uv", version = "0.10.0")
bazel_dep(name = "rules_uv", version = "0.52.0")

# Pick up https://github.com/theoremlp/rules_uv/pull/207/commits
git_override(
module_name = "rules_uv",
commit = "6330187e9158931d07397e92870a7d5ed12b81f3",
remote = "https://github.com/alexeagle/rules_uv.git",
)

# This example is in the same repo with the ruleset, so we should point to the code at HEAD
# rather than use any release on the Bazel Central Registry.
Expand Down
4 changes: 4 additions & 0 deletions examples/tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ pip_compile(
name = "generate_requirements_txt",
requirements_in = "requirements.in",
requirements_txt = "requirements.txt",
target_compatible_with = select({
"@platforms//os:windows": ["@platforms//:incompatible"],
"//conditions:default": [],
}),
)

# Don't allow rules_go to compile the Go SDK with cgo enabled, as that
Expand Down