diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index 310bfbf..0cf96ca 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -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. diff --git a/examples/tools/BUILD.bazel b/examples/tools/BUILD.bazel index 2a4a2f4..8d490c0 100644 --- a/examples/tools/BUILD.bazel +++ b/examples/tools/BUILD.bazel @@ -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