Skip to content

Commit

Permalink
Merge branch '0.9.0' into shubham/update-0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 authored Aug 1, 2024
2 parents 5bdf55d + 5659530 commit 75839f4
Show file tree
Hide file tree
Showing 45 changed files with 56 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0-beta.5
current_version = 0.9.0
tag = False
tag_name = {new_version}
commit = True
Expand Down
2 changes: 1 addition & 1 deletion .bumpversion_stable.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.8.8
current_version = 0.9.0
tag = False
tag_name = {new_version}
commit = True
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ For questions about PySyft, reach out via `#support` on <a href="https://slack.o

**Latest Stable**

- `0.8.8` (Stable) - <a href="https://docs.openmined.org/en/latest/index.html">Docs</a>
- `0.9.0` (Stable) - <a href="https://docs.openmined.org/en/latest/index.html">Docs</a>
- Install PySyft (Stable): `pip install -U syft`

**Latest Beta**

- `0.9.0` (Beta) - `dev` branch 👈🏽
- `0.9.1` (Beta) - `dev` branch 👈🏽
- Install PySyft (Beta): `pip install -U syft --pre`

Find more about previous <a href="./releases.md">releases here</a>.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mono Repo Global Version
__version__ = "0.9.0-beta.5"
__version__ = "0.9.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
Expand Down
4 changes: 2 additions & 2 deletions notebooks/api/0.8/00-load-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down Expand Up @@ -732,7 +732,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.11.5"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/01-submit-code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/02-review-code-and-approve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/03-data-scientist-download-result.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/04-pytorch-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/05-custom-policy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/06-multiple-code-requests.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/07-datasite-register-control-flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/08-code-version.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"%pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/09-blob-storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
5 changes: 3 additions & 2 deletions notebooks/api/0.8/10-container-images.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'"
]
},
Expand Down Expand Up @@ -149,7 +149,8 @@
" \"local-dev\"\n",
" if (bool(os.environ[\"DEV_MODE\"]) and running_as_container)\n",
" else sy.__version__\n",
")"
")\n",
"syft_base_worker_tag = \"0.9.0-beta.5\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/api/0.8/11-container-images-k8s.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tutorials/data-owner/02-account-management.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tutorials/data-owner/05-syft-services-api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/tutorials/data-scientist/04-syft-functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down Expand Up @@ -206,7 +206,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tutorials/hello-syft/01-hello-syft.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tutorials/model-auditing/colab/01-user-log.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"outputs": [],
"source": [
"# install syft\n",
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"%pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"outputs": [],
"source": [
"SYFT_VERSION = \">=0.8.2.b0,<0.9\"\n",
"SYFT_VERSION = \">=0.9,<1.0.0\"\n",
"package_string = f'\"syft{SYFT_VERSION}\"'\n",
"# %pip install {package_string} -q"
]
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mono Repo Global Version
__version__ = "0.9.0-beta.5"
__version__ = "0.9.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/backend/grid/images/worker_cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# NOTE: This dockerfile will be built inside a syft-backend container in PROD
# Hence COPY will not work the same way in DEV vs. PROD

ARG SYFT_VERSION_TAG="0.9.0-beta.5"
ARG SYFT_VERSION_TAG="0.9.0"
FROM openmined/syft-backend:${SYFT_VERSION_TAG}

# should match base image python version
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ vars:
DOCKER_IMAGE_RATHOLE: openmined/syft-rathole
DOCKER_IMAGE_ENCLAVE_ATTESTATION: openmined/syft-enclave-attestation
CONTAINER_REGISTRY: "docker.io"
VERSION: "0.9.0-beta.5"
VERSION: "0.9.0"
PLATFORM: $(uname -m | grep -q 'arm64' && echo "arm64" || echo "amd64")

# This is a list of `images` that DevSpace can build for this project
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "syft-ui",
"version": "0.9.0-beta.5",
"version": "0.9.0",
"private": true,
"scripts": {
"dev": "pnpm i && vite dev --host --port 80",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/helm/syft/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: syft
description: Perform numpy-like analysis on data that remains in someone elses server
type: application
version: "0.9.0-beta.5"
appVersion: "0.9.0-beta.5"
version: "0.9.0"
appVersion: "0.9.0"
home: https://github.com/OpenMined/PySyft/
icon: https://raw.githubusercontent.com/OpenMined/PySyft/dev/docs/img/title_syft_light.png
2 changes: 1 addition & 1 deletion packages/grid/helm/syft/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
global:
# Affects only backend, frontend, and seaweedfs containers
registry: docker.io
version: 0.9.0-beta.5
version: 0.9.0

# Force default secret values for development. DO NOT SET THIS TO FALSE IN PRODUCTION
randomizedSecrets: true
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = syft
version = attr: "0.9.0-beta.5"
version = attr: "0.9.0"
description = Perform numpy-like analysis on data that remains in someone elses server
author = OpenMined
author_email = [email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mono Repo Global Version
__version__ = "0.9.0-beta.5"
__version__ = "0.9.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.9.0-beta.5"
__version__ = "0.9.0"

# stdlib
from collections.abc import Callable
Expand Down
Loading

0 comments on commit 75839f4

Please sign in to comment.