From ed16033a92c8d85a77ac83145ebe350bb99c153c Mon Sep 17 00:00:00 2001 From: Steve Chien Date: Fri, 26 Aug 2022 14:29:44 -0700 Subject: [PATCH] Update pinned commit of dp-accounting library, update dependency versions, and increase version to 0.8.6. PiperOrigin-RevId: 470334560 --- WORKSPACE | 4 ++-- requirements.txt | 5 ++--- setup.py | 4 ++-- tensorflow_privacy/version.py | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index bb6c386..211952f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -15,8 +15,8 @@ git_repository( tag = "0.5.0", ) -dp_lib_commit = "802db81af4f5efb69df784efb3ba90833fba7246" -dp_lib_tar_sha256 = "721121d92c4c4e239d027a4201f4ceb27c36b39a2987c8b13ce2dc5260fb51eb" +dp_lib_commit = "ab98ce4d4e41bf420198b2284a75d6a7dd4e9044" +dp_lib_tar_sha256 = "314d7b0938e6a6b425d449c219237f0367cb44f649b2614497799618f3b4660e" 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 d9f0515..333fa2d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,14 +20,13 @@ # information. In this case, use the equivalent clause `>=x.0,==x.*` instead of # `~=x.0`. - absl-py>=1.0,==1.* attrs~=21.4 dm-tree==0.1.7 -dp-accounting==0.1.2 +dp-accounting==0.3.0 matplotlib~=3.3 mpmath~=1.2 -numpy~=1.23 +numpy~=1.21 pandas~=1.4 scikit-learn>=1.0,==1.* scipy~=1.7 diff --git a/setup.py b/setup.py index 249f8c0..c39e54b 100644 --- a/setup.py +++ b/setup.py @@ -30,9 +30,9 @@ setup( 'absl-py~=1.0', 'attrs~=21.4', 'dm-tree==0.1.7', - 'dp-accounting==0.1.2', + 'dp-accounting==0.3.0', 'matplotlib~=3.3', - 'numpy~=1.23', + 'numpy~=1.21', 'pandas~=1.4', 'scikit-learn~=1.0', 'scipy~=1.7', diff --git a/tensorflow_privacy/version.py b/tensorflow_privacy/version.py index 3c50f98..5bc8ac6 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.5' +__version__ = '0.8.6'