forked from 626_privacy/tensorflow_privacy
Remove workspace dependency on specific github release of dp_accounting.
PiperOrigin-RevId: 551651015
This commit is contained in:
parent
67c9c2424c
commit
b7e9709ff7
1 changed files with 0 additions and 19 deletions
19
WORKSPACE
19
WORKSPACE
|
@ -14,22 +14,3 @@ git_repository(
|
|||
remote = "https://github.com/bazelbuild/rules_python.git",
|
||||
tag = "0.5.0",
|
||||
)
|
||||
|
||||
dp_lib_release = "2.1.0"
|
||||
dp_lib_tar_sha256 = "b2e9afb2ea9337bb7c6302545b72e938707e8cdb3558ef38ce5cdd12fe2f182c"
|
||||
dp_lib_url = "https://github.com/google/differential-privacy/archive/refs/tags/v" + dp_lib_release + ".tar.gz"
|
||||
|
||||
http_archive(
|
||||
name = "com_google_differential_py",
|
||||
sha256 = dp_lib_tar_sha256,
|
||||
urls = [
|
||||
dp_lib_url,
|
||||
],
|
||||
strip_prefix = "differential-privacy-" + dp_lib_release + "/python",
|
||||
)
|
||||
|
||||
# Load transitive dependencies of the DP accounting library.
|
||||
load("@com_google_differential_py//:accounting_py_deps.bzl", "accounting_py_deps")
|
||||
accounting_py_deps()
|
||||
load("@com_google_differential_py//:accounting_py_deps_init.bzl", "accounting_py_deps_init")
|
||||
accounting_py_deps_init("com_google_differential_py")
|
||||
|
|
Loading…
Reference in a new issue