diff --git a/bazel/ray_deps_setup.bzl b/bazel/ray_deps_setup.bzl index 4b4ad2696..4127e977e 100644 --- a/bazel/ray_deps_setup.bzl +++ b/bazel/ray_deps_setup.bzl @@ -103,14 +103,12 @@ def ray_deps_setup(): ) # OpenCensus depends on jupp0r/prometheus-cpp - http_archive( + git_repository( name = "com_github_jupp0r_prometheus_cpp", - strip_prefix = "prometheus-cpp-master", - + commit = "5c45ba7ddc0585d765a43d136764dd2a542bd495", # TODO(qwang): We should use the repository of `jupp0r` here when this PR # `https://github.com/jupp0r/prometheus-cpp/pull/225` getting merged. - urls = ["https://github.com/jovany-wang/prometheus-cpp/archive/master.zip"], - sha256 = "d0c773da8af3db99c543dd0413f4427d835170eddfd517bfeba104236a8d2c07", + remote = "https://github.com/ray-project/prometheus-cpp.git", ) http_archive(