From 47680406433f89d946b02440b3236844f3435da6 Mon Sep 17 00:00:00 2001 From: Karl Higley Date: Sun, 24 May 2020 17:54:13 -0400 Subject: [PATCH] Bump PySyft version to v0.2.6 (#3604) * Update `syft-proto` dependency to v0.4.5 * Bump PySyft version to `v0.2.6` * Appease the style checkers --- pip-dep/requirements.txt | 6 +++--- setup.cfg | 2 +- setup.py | 2 +- syft/execution/plan.py | 4 ++-- syft/version.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pip-dep/requirements.txt b/pip-dep/requirements.txt index 2fffd46c91d..a2ef537e973 100644 --- a/pip-dep/requirements.txt +++ b/pip-dep/requirements.txt @@ -1,3 +1,4 @@ +aiortc==0.9.28 flask_socketio~=4.2.1 Flask~=1.1.1 lz4~=3.0.2 @@ -5,14 +6,13 @@ msgpack~=1.0.0 numpy~=1.18.1 phe~=1.4.0 Pillow~=6.2.2 +psutil==5.7.0 requests~=2.22.0 scipy~=1.4.1 -git+git://github.com/tudorcebere/syft-proto@messaging_support#egg=syft-proto +syft-proto~=0.4.5 tblib~=1.6.0 torchvision~=0.5.0 torch~=1.4.0 tornado==4.5.3 websocket_client~=0.57.0 websockets~=8.1.0 -aiortc==0.9.28 -psutil==5.7.0 diff --git a/setup.cfg b/setup.cfg index 4910c10ae7d..f31dcf7ea33 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.2.5 +current_version = 0.2.6 commit = true [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index 4f3a6c296f7..b565e9f2983 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def get_requirements(req_file): setup( name="syft", - version="0.2.5", + version="0.2.6", author="Andrew Trask", author_email="contact@openmined.org", description=("A Library for Private, Secure Deep Learning"), diff --git a/syft/execution/plan.py b/syft/execution/plan.py index 597a5823be0..a66564d9f5b 100644 --- a/syft/execution/plan.py +++ b/syft/execution/plan.py @@ -201,7 +201,7 @@ def build_nested_arg(arg, leaf_function): self.toggle_tracing(True) self.is_building = True - # typecheck + # Check the types self.input_types = NestedTypeWrapper(args) # Run once to build the plan @@ -421,7 +421,7 @@ def traverse_nested_types(arg, leaf_function): if isinstance(arg, list): return [traverse_nested_types(obj, leaf_function) for obj in arg] elif isinstance(arg, tuple): - return tuple([traverse_nested_types(obj, leaf_function) for obj in arg]) + return tuple(traverse_nested_types(obj, leaf_function) for obj in arg) elif isinstance(arg, dict): return {k: traverse_nested_types(v, leaf_function) for k, v in arg.items()} else: diff --git a/syft/version.py b/syft/version.py index fe404ae570d..01ef12070dc 100644 --- a/syft/version.py +++ b/syft/version.py @@ -1 +1 @@ -__version__ = "0.2.5" +__version__ = "0.2.6"