From f57dae8566f88c7ef4f5fe63a8656d06a1eb6679 Mon Sep 17 00:00:00 2001 From: khoaguin Date: Mon, 18 Sep 2023 14:55:40 +0700 Subject: [PATCH 1/6] fix the nasty bug Co-authored-by: Shubham Gupta --- packages/syft/src/syft/service/user/user_service.py | 9 ++++----- packages/syft/src/syft/service/user/user_stash.py | 7 +++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/syft/src/syft/service/user/user_service.py b/packages/syft/src/syft/service/user/user_service.py index f488147bc61..6b9c14a3944 100644 --- a/packages/syft/src/syft/service/user/user_service.py +++ b/packages/syft/src/syft/service/user/user_service.py @@ -229,13 +229,12 @@ def update( # Get user to be updated by its UID result = self.stash.get_by_uid(credentials=context.credentials, uid=uid) - # TODO: ADD Email Validation - # check if the email already exists + # check if the email already exists (with root's key) if user_update.email is not Empty: - user_with_email = self.stash.get_by_email( - credentials=context.credentials, email=user_update.email + user_with_email_exists: bool = self.stash.email_exists( + email=user_update.email ) - if user_with_email.ok() is not None: + if user_with_email_exists: return SyftError( message=f"A user with the email {user_update.email} already exists." ) diff --git a/packages/syft/src/syft/service/user/user_stash.py b/packages/syft/src/syft/service/user/user_stash.py index e3fd20bd179..9d1c1ab5fe8 100644 --- a/packages/syft/src/syft/service/user/user_stash.py +++ b/packages/syft/src/syft/service/user/user_stash.py @@ -76,6 +76,13 @@ def get_by_email( qks = QueryKeys(qks=[EmailPartitionKey.with_obj(email)]) return self.query_one(credentials=credentials, qks=qks) + def email_exists(self, email="") -> bool: + res = self.get_by_email(credentials=self.admin_verify_key().ok(), email=email) + if res.ok() is None: + return False + else: + return True + def get_by_role( self, credentials: SyftVerifyKey, role: ServiceRole ) -> Result[Optional[User], str]: From 8ed597fbb3b9f9d547e5a4b653e8bc8ddd591337 Mon Sep 17 00:00:00 2001 From: khoaguin Date: Mon, 18 Sep 2023 15:40:46 +0700 Subject: [PATCH 2/6] fix a test when setting email to default root email add a separate test when setting email to root email --- packages/syft/tests/syft/users/user_test.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/syft/tests/syft/users/user_test.py b/packages/syft/tests/syft/users/user_test.py index 5729c643166..7846e6c80ca 100644 --- a/packages/syft/tests/syft/users/user_test.py +++ b/packages/syft/tests/syft/users/user_test.py @@ -8,6 +8,7 @@ from syft import SyftSuccess from syft.client.api import SyftAPICall from syft.client.domain_client import DomainClient +from syft.node.node import get_default_root_email from syft.node.worker import Worker from syft.service.context import AuthedServiceContext from syft.service.user.user import ServiceRole @@ -260,7 +261,6 @@ def test_user_view_set_invalid_email( [ ("syft@gmail.com", "syft_ds@gmail.com"), ("syft@openmined.com", "syft_ds@openmined.com"), - ("info@openmined.org", "info_ds@openmined.org"), ], ) def test_user_view_set_email_success( @@ -275,6 +275,22 @@ def test_user_view_set_email_success( assert isinstance(result2, SyftSuccess) +def test_user_view_set_default_admin_email_failed( + ds_client: DomainClient, guest_client: DomainClient +) -> None: + default_root_email = get_default_root_email() + result = ds_client.me.set_email(default_root_email) + assert isinstance(result, SyftError) + assert ( + result.message == f"A user with the email {default_root_email} already exists." + ) + result_2 = guest_client.me.set_email(default_root_email) + assert isinstance(result_2, SyftError) + assert ( + result.message == f"A user with the email {default_root_email} already exists." + ) + + def test_user_view_set_duplicated_email( root_client: DomainClient, ds_client: DomainClient, guest_client: DomainClient ) -> None: From 2dfd8c6a0093d592c6943cf4d3320b2159b208fc Mon Sep 17 00:00:00 2001 From: khoaguin Date: Mon, 18 Sep 2023 16:43:31 +0700 Subject: [PATCH 3/6] add a test to check that users can't update their emails to DEFAULT_ROOT_EMAIL through their api services --- packages/syft/tests/syft/users/user_test.py | 26 +++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/packages/syft/tests/syft/users/user_test.py b/packages/syft/tests/syft/users/user_test.py index 7846e6c80ca..b9bfac92a7d 100644 --- a/packages/syft/tests/syft/users/user_test.py +++ b/packages/syft/tests/syft/users/user_test.py @@ -33,7 +33,7 @@ def get_users(worker): ) -def get_mock_client(root_client, role): +def get_mock_client(root_client, role) -> DomainClient: worker = root_client.api.connection.node client = worker.guest_client mail = Faker().email() @@ -67,17 +67,17 @@ def manually_call_service(worker, client, service, args=None, kwargs=None): @pytest.fixture -def guest_client(worker): +def guest_client(worker) -> DomainClient: return get_mock_client(worker.root_client, ServiceRole.GUEST) @pytest.fixture -def ds_client(worker): +def ds_client(worker) -> DomainClient: return get_mock_client(worker.root_client, ServiceRole.DATA_SCIENTIST) @pytest.fixture -def do_client(worker): +def do_client(worker) -> DomainClient: return get_mock_client(worker.root_client, ServiceRole.DATA_OWNER) @@ -234,6 +234,24 @@ def test_user_update(root_client): ) +def test_guest_user_update_to_root_email_failed( + root_client: DomainClient, + do_client: DomainClient, + guest_client: DomainClient, + ds_client: DomainClient, +) -> None: + default_root_email: str = get_default_root_email() + user_update_to_root_email = UserUpdate(email=default_root_email) + for client in [root_client, do_client, guest_client, ds_client]: + res = client.api.services.user.update( + uid=client.me.id, user_update=user_update_to_root_email + ) + assert isinstance(res, SyftError) + assert ( + res.message == f"A user with the email {default_root_email} already exists." + ) + + def test_user_view_set_password(worker: Worker, root_client: DomainClient) -> None: root_client.me.set_password("123", confirm=False) email = root_client.me.email From 2b2827e11537bbba4224bcf3e4c3772bcad742a4 Mon Sep 17 00:00:00 2001 From: khoaguin Date: Tue, 19 Sep 2023 13:13:01 +0700 Subject: [PATCH 4/6] skip setting email to empty string add missing type annotation for the email field --- packages/syft/src/syft/service/user/user_stash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/service/user/user_stash.py b/packages/syft/src/syft/service/user/user_stash.py index 9d1c1ab5fe8..8535acea25d 100644 --- a/packages/syft/src/syft/service/user/user_stash.py +++ b/packages/syft/src/syft/service/user/user_stash.py @@ -76,7 +76,7 @@ def get_by_email( qks = QueryKeys(qks=[EmailPartitionKey.with_obj(email)]) return self.query_one(credentials=credentials, qks=qks) - def email_exists(self, email="") -> bool: + def email_exists(self, email: str) -> bool: res = self.get_by_email(credentials=self.admin_verify_key().ok(), email=email) if res.ok() is None: return False From f070d957f244057ffcdc4de58805cafb2273692e Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Thu, 21 Sep 2023 18:10:45 +0530 Subject: [PATCH 5/6] remove experimental notebook --- notebooks/Experimental/test.ipynb | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 notebooks/Experimental/test.ipynb diff --git a/notebooks/Experimental/test.ipynb b/notebooks/Experimental/test.ipynb deleted file mode 100644 index e69de29bb2d..00000000000 From 65b570a109ffb7e5d05a651954ae3defb1befa04 Mon Sep 17 00:00:00 2001 From: alfred-openmined-bot <145415986+alfred-openmined-bot@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:47:15 +0000 Subject: [PATCH 6/6] [syft]bump version --- .bumpversion.cfg | 2 +- VERSION | 2 +- packages/grid/VERSION | 2 +- packages/grid/devspace.yaml | 4 +- packages/grid/frontend/package.json | 2 +- packages/grid/helm/repo/index.yaml | 92 ++++++++++-------- .../grid/helm/repo/syft-0.8.2-beta.32.tgz | Bin 0 -> 7936 bytes packages/grid/helm/syft/Chart.yaml | 4 +- .../podman/podman-kube/podman-syft-kube.yaml | 4 +- packages/hagrid/hagrid/deps.py | 2 +- packages/hagrid/hagrid/manifest_template.yml | 6 +- packages/syft/setup.cfg | 2 +- packages/syft/src/syft/VERSION | 2 +- packages/syft/src/syft/__init__.py | 2 +- packages/syftcli/manifest.yml | 8 +- 15 files changed, 75 insertions(+), 59 deletions(-) create mode 100644 packages/grid/helm/repo/syft-0.8.2-beta.32.tgz diff --git a/.bumpversion.cfg b/.bumpversion.cfg index bc014f67e4a..d7b3861300f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.8.2-beta.31 +current_version = 0.8.2-beta.32 tag = False tag_name = {new_version} commit = True diff --git a/VERSION b/VERSION index e8c2873959e..8d742e21c7c 100644 --- a/VERSION +++ b/VERSION @@ -1,5 +1,5 @@ # Mono Repo Global Version -__version__ = "0.8.2-beta.31" +__version__ = "0.8.2-beta.32" # elsewhere we can call this file: `python VERSION` and simply take the stdout # stdlib diff --git a/packages/grid/VERSION b/packages/grid/VERSION index e8c2873959e..8d742e21c7c 100644 --- a/packages/grid/VERSION +++ b/packages/grid/VERSION @@ -1,5 +1,5 @@ # Mono Repo Global Version -__version__ = "0.8.2-beta.31" +__version__ = "0.8.2-beta.32" # elsewhere we can call this file: `python VERSION` and simply take the stdout # stdlib diff --git a/packages/grid/devspace.yaml b/packages/grid/devspace.yaml index 7a58a689228..df7f24aa907 100644 --- a/packages/grid/devspace.yaml +++ b/packages/grid/devspace.yaml @@ -15,13 +15,13 @@ pipelines: run: |- run_dependencies --all ensure_pull_secrets --all - build_images --all -t $(git rev-parse --short=6 HEAD) -t 0.8.2-beta.31 -t dev-latest + build_images --all -t $(git rev-parse --short=6 HEAD) -t 0.8.2-beta.32 -t dev-latest create_deployments --all vars: DEVSPACE_ENV_FILE: "default.env" CONTAINER_REGISTRY: "docker.io" - VERSION: "0.8.2-beta.31" + VERSION: "0.8.2-beta.32" # This is a list of `images` that DevSpace can build for this project # We recommend to skip image building during development (devspace dev) as much as possible diff --git a/packages/grid/frontend/package.json b/packages/grid/frontend/package.json index bae96f042d3..ee4bcfbd642 100644 --- a/packages/grid/frontend/package.json +++ b/packages/grid/frontend/package.json @@ -1,6 +1,6 @@ { "name": "pygrid-ui", - "version": "0.8.2-beta.31", + "version": "0.8.2-beta.32", "private": true, "scripts": { "dev": "pnpm i && vite dev --host --port 80", diff --git a/packages/grid/helm/repo/index.yaml b/packages/grid/helm/repo/index.yaml index fa4958e1359..6db9025ad63 100644 --- a/packages/grid/helm/repo/index.yaml +++ b/packages/grid/helm/repo/index.yaml @@ -1,9 +1,25 @@ apiVersion: v1 entries: syft: + - apiVersion: v2 + appVersion: 0.8.2-beta.32 + created: "2023-09-25T08:46:19.495962412Z" + dependencies: + - name: component-chart + repository: https://charts.devspace.sh + version: 0.8.6 + description: Perform numpy-like analysis on data that remains in someone elses + server + digest: a2a5e157e5d9fe60f85388c955829e4b890bdbce7d89885318e3622db997b39e + icon: https://raw.githubusercontent.com/OpenMined/PySyft/dev/docs/img/title_syft_light.png + name: syft + type: application + urls: + - https://openmined.github.io/PySyft/helm/syft-0.8.2-beta.32.tgz + version: 0.8.2-beta.32 - apiVersion: v2 appVersion: 0.8.2-beta.31 - created: "2023-09-22T06:33:05.972438781Z" + created: "2023-09-25T08:46:19.495473951Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -19,7 +35,7 @@ entries: version: 0.8.2-beta.31 - apiVersion: v2 appVersion: 0.8.2-beta.30 - created: "2023-09-22T06:33:05.97194548Z" + created: "2023-09-25T08:46:19.494994105Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -35,7 +51,7 @@ entries: version: 0.8.2-beta.30 - apiVersion: v2 appVersion: 0.8.2-beta.29 - created: "2023-09-22T06:33:05.970951154Z" + created: "2023-09-25T08:46:19.494020408Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -51,7 +67,7 @@ entries: version: 0.8.2-beta.29 - apiVersion: v2 appVersion: 0.8.2-beta.28 - created: "2023-09-22T06:33:05.970430332Z" + created: "2023-09-25T08:46:19.493495228Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -67,7 +83,7 @@ entries: version: 0.8.2-beta.28 - apiVersion: v2 appVersion: 0.8.2-beta.27 - created: "2023-09-22T06:33:05.969838718Z" + created: "2023-09-25T08:46:19.492990336Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -83,7 +99,7 @@ entries: version: 0.8.2-beta.27 - apiVersion: v2 appVersion: 0.8.2-beta.26 - created: "2023-09-22T06:33:05.968583044Z" + created: "2023-09-25T08:46:19.492461048Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -99,7 +115,7 @@ entries: version: 0.8.2-beta.26 - apiVersion: v2 appVersion: 0.8.2-beta.25 - created: "2023-09-22T06:33:05.968013221Z" + created: "2023-09-25T08:46:19.49184557Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -115,7 +131,7 @@ entries: version: 0.8.2-beta.25 - apiVersion: v2 appVersion: 0.8.2-beta.24 - created: "2023-09-22T06:33:05.967506125Z" + created: "2023-09-25T08:46:19.490894425Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -131,7 +147,7 @@ entries: version: 0.8.2-beta.24 - apiVersion: v2 appVersion: 0.8.2-beta.23 - created: "2023-09-22T06:33:05.967022231Z" + created: "2023-09-25T08:46:19.490398149Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -147,7 +163,7 @@ entries: version: 0.8.2-beta.23 - apiVersion: v2 appVersion: 0.8.2-beta.22 - created: "2023-09-22T06:33:05.966541814Z" + created: "2023-09-25T08:46:19.489912062Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -163,7 +179,7 @@ entries: version: 0.8.2-beta.22 - apiVersion: v2 appVersion: 0.8.2-beta.21 - created: "2023-09-22T06:33:05.966060807Z" + created: "2023-09-25T08:46:19.489394065Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -179,7 +195,7 @@ entries: version: 0.8.2-beta.21 - apiVersion: v2 appVersion: 0.8.2-beta.20 - created: "2023-09-22T06:33:05.965568708Z" + created: "2023-09-25T08:46:19.488879245Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -195,7 +211,7 @@ entries: version: 0.8.2-beta.20 - apiVersion: v2 appVersion: 0.8.2-beta.19 - created: "2023-09-22T06:33:05.964536071Z" + created: "2023-09-25T08:46:19.487911468Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -211,7 +227,7 @@ entries: version: 0.8.2-beta.19 - apiVersion: v2 appVersion: 0.8.2-beta.18 - created: "2023-09-22T06:33:05.963997516Z" + created: "2023-09-25T08:46:19.487420092Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -227,7 +243,7 @@ entries: version: 0.8.2-beta.18 - apiVersion: v2 appVersion: 0.8.2-beta.17 - created: "2023-09-22T06:33:05.963462206Z" + created: "2023-09-25T08:46:19.486921932Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -243,7 +259,7 @@ entries: version: 0.8.2-beta.17 - apiVersion: v2 appVersion: 0.8.2-beta.16 - created: "2023-09-22T06:33:05.962883947Z" + created: "2023-09-25T08:46:19.48641708Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -259,7 +275,7 @@ entries: version: 0.8.2-beta.16 - apiVersion: v2 appVersion: 0.8.2-beta.15 - created: "2023-09-22T06:33:05.961941004Z" + created: "2023-09-25T08:46:19.485808284Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -275,7 +291,7 @@ entries: version: 0.8.2-beta.15 - apiVersion: v2 appVersion: 0.8.2-beta.14 - created: "2023-09-22T06:33:05.961219287Z" + created: "2023-09-25T08:46:19.484687848Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -291,7 +307,7 @@ entries: version: 0.8.2-beta.14 - apiVersion: v2 appVersion: 0.8.2-beta.13 - created: "2023-09-22T06:33:05.960689047Z" + created: "2023-09-25T08:46:19.484174169Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -307,7 +323,7 @@ entries: version: 0.8.2-beta.13 - apiVersion: v2 appVersion: 0.8.2-beta.12 - created: "2023-09-22T06:33:05.960176621Z" + created: "2023-09-25T08:46:19.483686279Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -323,7 +339,7 @@ entries: version: 0.8.2-beta.12 - apiVersion: v2 appVersion: 0.8.2-beta.11 - created: "2023-09-22T06:33:05.95957576Z" + created: "2023-09-25T08:46:19.483189642Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -339,7 +355,7 @@ entries: version: 0.8.2-beta.11 - apiVersion: v2 appVersion: 0.8.2-beta.10 - created: "2023-09-22T06:33:05.959011136Z" + created: "2023-09-25T08:46:19.482695349Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -355,7 +371,7 @@ entries: version: 0.8.2-beta.10 - apiVersion: v2 appVersion: 0.8.2-beta.9 - created: "2023-09-22T06:33:05.97540098Z" + created: "2023-09-25T08:46:19.499466231Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -371,7 +387,7 @@ entries: version: 0.8.2-beta.9 - apiVersion: v2 appVersion: 0.8.2-beta.8 - created: "2023-09-22T06:33:05.974908541Z" + created: "2023-09-25T08:46:19.498953404Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -387,7 +403,7 @@ entries: version: 0.8.2-beta.8 - apiVersion: v2 appVersion: 0.8.2-beta.7 - created: "2023-09-22T06:33:05.974425088Z" + created: "2023-09-25T08:46:19.498422413Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -403,7 +419,7 @@ entries: version: 0.8.2-beta.7 - apiVersion: v2 appVersion: 0.8.2-beta.6 - created: "2023-09-22T06:33:05.973945163Z" + created: "2023-09-25T08:46:19.497412528Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -419,7 +435,7 @@ entries: version: 0.8.2-beta.6 - apiVersion: v2 appVersion: 0.8.2-beta.5 - created: "2023-09-22T06:33:05.973457753Z" + created: "2023-09-25T08:46:19.496931651Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -435,7 +451,7 @@ entries: version: 0.8.2-beta.5 - apiVersion: v2 appVersion: 0.8.2-beta.4 - created: "2023-09-22T06:33:05.972965895Z" + created: "2023-09-25T08:46:19.496449942Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -451,7 +467,7 @@ entries: version: 0.8.2-beta.4 - apiVersion: v2 appVersion: 0.8.2-beta.3 - created: "2023-09-22T06:33:05.971448132Z" + created: "2023-09-25T08:46:19.494507688Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -467,7 +483,7 @@ entries: version: 0.8.2-beta.3 - apiVersion: v2 appVersion: 0.8.2-beta.2 - created: "2023-09-22T06:33:05.965069436Z" + created: "2023-09-25T08:46:19.488396554Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -483,7 +499,7 @@ entries: version: 0.8.2-beta.2 - apiVersion: v2 appVersion: 0.8.2-beta.1 - created: "2023-09-22T06:33:05.958499771Z" + created: "2023-09-25T08:46:19.482188674Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -499,7 +515,7 @@ entries: version: 0.8.2-beta.1 - apiVersion: v2 appVersion: 0.8.1 - created: "2023-09-22T06:33:05.957976755Z" + created: "2023-09-25T08:46:19.481669164Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -515,7 +531,7 @@ entries: version: 0.8.1 - apiVersion: v2 appVersion: 0.8.1-beta.21 - created: "2023-09-22T06:33:05.957463557Z" + created: "2023-09-25T08:46:19.481137692Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -531,7 +547,7 @@ entries: version: 0.8.1-beta.21 - apiVersion: v2 appVersion: 0.8.1-beta.20 - created: "2023-09-22T06:33:05.956910635Z" + created: "2023-09-25T08:46:19.480619155Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -547,7 +563,7 @@ entries: version: 0.8.1-beta.20 - apiVersion: v2 appVersion: 0.8.1-beta.19 - created: "2023-09-22T06:33:05.956290227Z" + created: "2023-09-25T08:46:19.480103142Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -563,7 +579,7 @@ entries: version: 0.8.1-beta.19 - apiVersion: v2 appVersion: 0.8.1-beta.15 - created: "2023-09-22T06:33:05.955080759Z" + created: "2023-09-25T08:46:19.479570949Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -579,7 +595,7 @@ entries: version: 0.8.1-beta.15 - apiVersion: v2 appVersion: 0.8.1-beta.12 - created: "2023-09-22T06:33:05.954540721Z" + created: "2023-09-25T08:46:19.478989504Z" dependencies: - name: component-chart repository: https://charts.devspace.sh @@ -593,4 +609,4 @@ entries: urls: - https://openmined.github.io/PySyft/helm/syft-0.8.1-beta.12.tgz version: 0.8.1-beta.12 -generated: "2023-09-22T06:33:05.953845634Z" +generated: "2023-09-25T08:46:19.477733318Z" diff --git a/packages/grid/helm/repo/syft-0.8.2-beta.32.tgz b/packages/grid/helm/repo/syft-0.8.2-beta.32.tgz new file mode 100644 index 0000000000000000000000000000000000000000..c3d1bba0964155014045b03fa94d6132c8ec8dba GIT binary patch literal 7936 zcmV+bAOGMViwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PKBxbKADJVE^W)z{4H?gg?oZRjF@*5W- zVF}k1!2*yS)y;nPI{^3qK#-#RP?|*eBe4LS2VMu~93B8{an0L@Q%HGh0cYWN&yhNv zPG`5@m;ZM<9sB>z&d%<4-TqFe-|P3cx3|CRbbH<1-S0r>S-7#%oN-9M>pYs4-MB9# z!5F_slwlGLz-`Ziah(0^wDw!Q<`{9<+U|J)icu7x$j68cye5d?3=M!!W-*CS#GAgD zLmmJW#e`u_=wbk-oX2d?Zp$*(3eYW!p^sW@>H%=8)7kX`#C(clF0+P+UK2V4(R>y! znjyYH07fueFw6jnKma)edbc!Psw1Z9JQ_Ip!g{5=-SO#FHs+#nHr5 z9UwA2zKGEPz&H-E4@C>STX!dZ?$ItLZT*MDzj+oK%hvz)c5(ghbT;dM9qHMZHJ%{G z2Y^jsZ)bN9jQvi3cQ5Gd2L1h?J3HO}xZB-D!5EGAxBGj0-2nXzcY@vSc&G38#=Ty5 zJnmfo-0koA{rzrt+nb;WQOHp+0F7R!x83aQHhZ1RZg0@r9c=Hnc6K`b?*9Mmb_ShJ z;~%)*{%J|B|63T&5qmZTV9EOL_I5h<`tNu9oAtkrv;~gPHJpbWs7U~>36+~#%i98% zQ_KKn0D|8SPTw}gmJB&Z0l3B?5*3b+A3}=2EuUvrAun!ePWK#uO{NL^E^)~W<9jV!DdWH?y^=@z!48RD{TkIomhBy@VmRQ>`iU^krHWei(oVD0g zX@Ui{vDs<;-0FG&gm8?)1O&!$>t;SiG(uuKz@$Bc5uBi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H1d&&i={En}) z*)b%+K~fFT%^Oae0ETCAo}?zNoMxAhP7uF9*Q(8~x9UWG@r5w}YR<|TjxMTSi&E8c z!C1UcBGH7o2F12CO2a;4+m26`gV`avT`tdyZ&1DB3C{&VO zE%t5Nm6m=rj*H~U`6q10JB~yA7c9P|RG*W-0gm{i+jgp*Mp~g+>afz2jL@m$G~yEs z){{5vkwca>(=}>eZ8S_h{Xcb`JV*RTXJ>b}TZsSI>237?btG+zjtS+bFiy45kST z-R_#aEM1#77^aU~7%I4z`v*{V(@`ciaAfSk`l)KdN zOvuTD^l?2|*~)YicS1gdX7aS2i*m)AeAUPvG&JdxbZ^ii=|VlHk_!X0l6ZEM!4SM| zji_1|(%pgyfZ>1BPp7-eZ9idJzac6&H7N7S%7U*h&O}p6B{n{r**xa=av9Z>g*7Z7 zE2&=ea+V<|a$~Yj2`4@YEubV- zTR1@QbMvxE>ra*IUuY6fAOM!G|DB$_{`dNOoAtkrBxHQs6aP-<RKNt?7uo3u%#>AwR20RR7z@j2W81_1y;S)MKc literal 0 HcmV?d00001 diff --git a/packages/grid/helm/syft/Chart.yaml b/packages/grid/helm/syft/Chart.yaml index 91db2a35105..5f97ec4593d 100644 --- a/packages/grid/helm/syft/Chart.yaml +++ b/packages/grid/helm/syft/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: syft description: Perform numpy-like analysis on data that remains in someone elses server type: application -version: "0.8.2-beta.31" -appVersion: "0.8.2-beta.31" +version: "0.8.2-beta.32" +appVersion: "0.8.2-beta.32" icon: https://raw.githubusercontent.com/OpenMined/PySyft/dev/docs/img/title_syft_light.png dependencies: diff --git a/packages/grid/podman/podman-kube/podman-syft-kube.yaml b/packages/grid/podman/podman-kube/podman-syft-kube.yaml index 03286ac7cfd..374bbbf8bbb 100644 --- a/packages/grid/podman/podman-kube/podman-syft-kube.yaml +++ b/packages/grid/podman/podman-kube/podman-syft-kube.yaml @@ -41,7 +41,7 @@ spec: - configMapRef: name: podman-syft-config - image: docker.io/openmined/grid-backend:0.8.2-beta.31 + image: docker.io/openmined/grid-backend:0.8.2-beta.32 imagePullPolicy: IfNotPresent resources: {} tty: true @@ -57,7 +57,7 @@ spec: envFrom: - configMapRef: name: podman-syft-config - image: docker.io/openmined/grid-frontend:0.8.2-beta.31 + image: docker.io/openmined/grid-frontend:0.8.2-beta.32 imagePullPolicy: IfNotPresent resources: {} tty: true diff --git a/packages/hagrid/hagrid/deps.py b/packages/hagrid/hagrid/deps.py index bc778dafcf6..d3f7d04b88a 100644 --- a/packages/hagrid/hagrid/deps.py +++ b/packages/hagrid/hagrid/deps.py @@ -42,7 +42,7 @@ from .version import __version__ LATEST_STABLE_SYFT = "0.8.1" -LATEST_BETA_SYFT = "0.8.2-beta.31" +LATEST_BETA_SYFT = "0.8.2-beta.32" DOCKER_ERROR = """ You are running an old version of docker, possibly on Linux. You need to install v2. diff --git a/packages/hagrid/hagrid/manifest_template.yml b/packages/hagrid/hagrid/manifest_template.yml index 03d0fef03cd..92eb5cd9c93 100644 --- a/packages/hagrid/hagrid/manifest_template.yml +++ b/packages/hagrid/hagrid/manifest_template.yml @@ -1,9 +1,9 @@ manifestVersion: 0.1 hagrid_version: 0.3.72 -syft_version: 0.8.2-beta.31 -dockerTag: 0.8.2-beta.31 +syft_version: 0.8.2-beta.32 +dockerTag: 0.8.2-beta.32 baseUrl: https://raw.githubusercontent.com/OpenMined/PySyft/ -hash: 00d4fb50c26820ed0fc84bb8c3047b6243f1473c +hash: ba2289479262a742b1df2b7c8548e024b237594a target_dir: ~/.hagrid/PySyft/ files: grid: diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 79435cdaf96..e5905e3627a 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = syft -version = attr: "0.8.2-beta.31" +version = attr: "0.8.2-beta.32" description = Perform numpy-like analysis on data that remains in someone elses server author = OpenMined author_email = info@openmined.org diff --git a/packages/syft/src/syft/VERSION b/packages/syft/src/syft/VERSION index e8c2873959e..8d742e21c7c 100644 --- a/packages/syft/src/syft/VERSION +++ b/packages/syft/src/syft/VERSION @@ -1,5 +1,5 @@ # Mono Repo Global Version -__version__ = "0.8.2-beta.31" +__version__ = "0.8.2-beta.32" # elsewhere we can call this file: `python VERSION` and simply take the stdout # stdlib diff --git a/packages/syft/src/syft/__init__.py b/packages/syft/src/syft/__init__.py index 1527074d936..07d3ac7ce68 100644 --- a/packages/syft/src/syft/__init__.py +++ b/packages/syft/src/syft/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.8.2-beta.31" +__version__ = "0.8.2-beta.32" # stdlib import pathlib diff --git a/packages/syftcli/manifest.yml b/packages/syftcli/manifest.yml index 82a43fb667e..6fa94b67187 100644 --- a/packages/syftcli/manifest.yml +++ b/packages/syftcli/manifest.yml @@ -1,11 +1,11 @@ manifestVersion: 1.0 -syftVersion: 0.8.2-beta.31 -dockerTag: 0.8.2-beta.31 +syftVersion: 0.8.2-beta.32 +dockerTag: 0.8.2-beta.32 images: - - docker.io/openmined/grid-frontend:0.8.2-beta.31 - - docker.io/openmined/grid-backend:0.8.2-beta.31 + - docker.io/openmined/grid-frontend:0.8.2-beta.32 + - docker.io/openmined/grid-backend:0.8.2-beta.32 - docker.io/library/mongo:latest - docker.io/traefik:v2.10