From 38fe4aa984ca5da36416c8b5b4197fbad105b020 Mon Sep 17 00:00:00 2001 From: Steve Chien Date: Tue, 19 Jul 2022 12:21:27 -0700 Subject: [PATCH] Changes to prepare for release of v0.8.1. Update WORKSPACE, setup.py, and requirements.txt to latest dp-accounting library release. Update scipy version in setup.py. Update version to 0.8.1. PiperOrigin-RevId: 461944491 --- WORKSPACE | 4 ++-- requirements.txt | 1 + setup.py | 4 ++-- tensorflow_privacy/version.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 5d15b3d2..bb6c386c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -15,8 +15,8 @@ git_repository( tag = "0.5.0", ) -dp_lib_commit = "8f7d2b9e294506c25756b65b8a369b858a015e5f" -dp_lib_tar_sha256 = "6bd3fd4d9413f25272d952b266cbf0d9121ae53f7b3182d75f12ea80069d9732" +dp_lib_commit = "802db81af4f5efb69df784efb3ba90833fba7246" +dp_lib_tar_sha256 = "721121d92c4c4e239d027a4201f4ceb27c36b39a2987c8b13ce2dc5260fb51eb" dp_lib_url = "https://github.com/google/differential-privacy/archive/" + dp_lib_commit + ".tar.gz" http_archive( diff --git a/requirements.txt b/requirements.txt index 51fcd820..8d0ee71a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ absl-py~=1.0.0 attrs~=21.4.0 dm-tree~=0.1.7 +dp-accounting~=0.1.2 matplotlib~=3.3.4 mpmath~=1.2.1 numpy~=1.21.4 diff --git a/setup.py b/setup.py index 4326f67e..20679c2a 100644 --- a/setup.py +++ b/setup.py @@ -30,12 +30,12 @@ 'absl-py~=1.0.0', 'attrs~=21.4.0', 'dm-tree~=0.1.7', - 'dp-accounting~=0.1.0', + 'dp-accounting~=0.1.2', 'matplotlib~=3.3.4', 'numpy~=1.21.4', 'pandas~=1.1.4', 'scikit-learn~=1.0.2', - 'scipy~=1.2.1', + 'scipy~=1.7.1', 'tensorflow-datasets~=4.5.2', 'tensorflow-estimator~=2.4', 'tensorflow-probability~=0.15.0', diff --git a/tensorflow_privacy/version.py b/tensorflow_privacy/version.py index 0366b3c1..1eefc3b1 100644 --- a/tensorflow_privacy/version.py +++ b/tensorflow_privacy/version.py @@ -13,4 +13,4 @@ # limitations under the License. """TensorFlow Privacy version.""" -__version__ = '0.8.0' +__version__ = '0.8.1'