Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0.8.6 #8655

Merged
merged 72 commits into from
Apr 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
8d480b2
Merge pull request #8618 from OpenMined/dev
teo-milea Mar 22, 2024
566aaf6
reverted changes for the latest release
teo-milea Mar 22, 2024
e176cf3
[syft] bump protocol version
alfred-openmined-bot Mar 22, 2024
2f1302c
Merge branch 'dev' into reverse_release_changes
tcp Mar 22, 2024
e17a041
Merge pull request #8619 from OpenMined/reverse_release_changes
tcp Mar 22, 2024
c3764dd
[syft]bump version
alfred-openmined-bot Mar 22, 2024
3f87f5e
Update protocol by checking out branch 0.8.5, running sy.check_or_sta…
iamtrask Mar 24, 2024
c9c4dca
Merge branch 'dev' into new_dev_2
iamtrask Mar 24, 2024
2a90040
Merge pull request #8624 from OpenMined/new_dev_2
iamtrask Mar 24, 2024
b763f91
changed hash computation
teo-milea Mar 25, 2024
98622fc
bump version for faulty objects
teo-milea Mar 25, 2024
d24764e
yank lastest protocol
shubham3121 Mar 26, 2024
b497d00
revert version update of SignedSyftAPICall class
shubham3121 Mar 26, 2024
5638c6c
add a workflow to run notebook tests post bumping version
shubham3121 Mar 26, 2024
c8cf084
fix workflow for pr-syft-test
shubham3121 Mar 26, 2024
86c04c9
fix tox command
teo-milea Mar 26, 2024
176e6e0
fix lint for tox file
teo-milea Mar 26, 2024
c24db43
show warning if protocol is invalid in prod mode else raise Exception
shubham3121 Mar 27, 2024
5cfda57
update protocol version
shubham3121 Mar 27, 2024
67be673
use warning.warn to raise Warning in dev mode
shubham3121 Mar 27, 2024
3cbd806
changed docker image for the latest stable
teo-milea Mar 27, 2024
951da3a
fix lint
teo-milea Mar 27, 2024
cd33301
added safety check skip for ansible-core to trigger notebook testing
teo-milea Mar 27, 2024
b4705b1
raise Exception by default in sy.stage_protocol_changes()
shubham3121 Mar 27, 2024
8d8ae16
added skip safety check
teo-milea Mar 27, 2024
79bb3fc
Merge branch 'fix_hash_forwardref' of github.com:OpenMined/PySyft int…
teo-milea Mar 27, 2024
45967d2
remove force from model_rebuild, only build if forward refs present
shubham3121 Mar 28, 2024
a0508d2
bump versions to post 0.8.5-post.1
rasswanth-s Mar 28, 2024
9550748
- add some statements for debugging
shubham3121 Mar 28, 2024
a3be8a2
Merge pull request #8629 from OpenMined/fix_hash_forwardref
shubham3121 Mar 28, 2024
d3c0d52
Merge branch 'dev' into update_versions
shubham3121 Mar 28, 2024
19b2456
update version of syft from 0.8.5 to 0.8.5-post.1 in README
shubham3121 Mar 28, 2024
490c883
Merge pull request #8635 from OpenMined/update_versions
shubham3121 Mar 28, 2024
c8bbc38
Merge branch 'dev' into update-sy-ver-readme
shubham3121 Mar 28, 2024
2e7cfde
Merge pull request #8637 from OpenMined/update-sy-ver-readme
shubham3121 Mar 28, 2024
c51169a
[syft] bump protocol version
alfred-openmined-bot Mar 29, 2024
197a4f7
[hagrid] bump version
alfred-openmined-bot Mar 29, 2024
8027ea4
fix partial syft object to remove Empty from type annotations of class
shubham3121 Mar 30, 2024
e466cef
fix to_dict method to exclude dynamically added vars
shubham3121 Apr 1, 2024
f8b40af
fix partial model metaclass to rebuild cls with Empty during instanti…
shubham3121 Apr 1, 2024
ce44ceb
revert protocol version 4
shubham3121 Apr 1, 2024
6657391
update syft post version to 0.8.5-post.2
shubham3121 Apr 1, 2024
cd21efb
Merge pull request #8642 from OpenMined/fix-partial-object
shubham3121 Apr 1, 2024
866459e
Merge branch 'dev' into revert-protocol-version
shubham3121 Apr 1, 2024
99bd400
Make PartialModelMetaclass only modify BaseModel subclass
kiendang Apr 1, 2024
2cdf95e
Remove unused typevar
kiendang Apr 1, 2024
581f571
update post release workflow to have jobs for post test pypi deployment
shubham3121 Apr 1, 2024
899a36a
Merge pull request #8644 from OpenMined/revert-protocol-version
shubham3121 Apr 1, 2024
34a6a7e
Merge branch 'dev' into update-version-to-post2
shubham3121 Apr 1, 2024
dd4f3f3
fix syntax for release platform check in syft-install-check workflow
shubham3121 Apr 1, 2024
b710d15
Merge pull request #8646 from OpenMined/update-version-to-post2
shubham3121 Apr 1, 2024
13efb56
update readme to 0.8.5-post.2
shubham3121 Apr 1, 2024
99eabca
add release platform as choice in workflow dispatch
shubham3121 Apr 1, 2024
8c2c819
Merge pull request #8647 from OpenMined/readme-post-2
shubham3121 Apr 1, 2024
990e681
force parse to string vars evaluated from github inpusts
shubham3121 Apr 1, 2024
ccbfb37
fix syntax
shubham3121 Apr 2, 2024
c4c851f
update syntax to use [[]]
shubham3121 Apr 2, 2024
1f31628
remove ; from pip install
shubham3121 Apr 2, 2024
3a5886a
fix syntax of installing syft with data_science
shubham3121 Apr 2, 2024
be0c135
update pip install syft with dev packages for unit tests workflow
shubham3121 Apr 2, 2024
da6f7a6
Merge pull request #8649 from OpenMined/post-release-workflow
shubham3121 Apr 2, 2024
25284ef
Merge pull request #8648 from OpenMined/dev
shubham3121 Apr 2, 2024
31244eb
[syft] bump protocol version
alfred-openmined-bot Apr 2, 2024
4bf4235
pass test pypi url as extra index
shubham3121 Apr 2, 2024
4784d37
specify shell for syft install checks workflow
shubham3121 Apr 2, 2024
176fa7c
rename dataset in multiple code requests
shubham3121 Apr 2, 2024
9168a86
api/0.8: fix assert in multiple code requests notebook
shubham3121 Apr 2, 2024
1adf8a2
Merge pull request #8650 from OpenMined/fix-post-release-test-workflow
shubham3121 Apr 2, 2024
5f3ff78
Merge pull request #8653 from OpenMined/dev
shubham3121 Apr 2, 2024
09aa078
fix lint
shubham3121 Apr 2, 2024
5a91576
[syft] bump protocol version
alfred-openmined-bot Apr 2, 2024
1694063
Merge pull request #8654 from OpenMined/merge-0.8.5.post-to-dev
shubham3121 Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.8.5
current_version = 0.8.6-beta.0
tag = False
tag_name = {new_version}
commit = True
10 changes: 5 additions & 5 deletions .github/workflows/pr-tests-stack.yml
Original file line number Diff line number Diff line change
@@ -293,11 +293,11 @@ jobs:
run: |
pip install --upgrade tox tox-uv==1.5.1

# - name: Run syft backend base image building test
# if: steps.changes.outputs.stack == 'true'
# timeout-minutes: 60
# run: |
# tox -e backend.test.basecpu
- name: Run syft backend base image building test
if: steps.changes.outputs.stack == 'true'
timeout-minutes: 60
run: |
tox -e backend.test.basecpu

pr-tests-notebook-stack:
strategy:
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.8.5"
__version__ = "0.8.6-beta.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
12 changes: 6 additions & 6 deletions notebooks/api/0.8/10-container-images.ipynb
Original file line number Diff line number Diff line change
@@ -131,8 +131,8 @@
"metadata": {},
"outputs": [],
"source": [
"custom_dockerfile_str = \"\"\"\n",
"FROM openmined/grid-backend:0.8.5-beta.10\n",
"custom_dockerfile_str = f\"\"\"\n",
"FROM openmined/grid-backend:{syft_base_worker_tag}\n",
"\n",
"RUN pip install pydicom\n",
"\n",
@@ -1108,8 +1108,8 @@
"metadata": {},
"outputs": [],
"source": [
"custom_dockerfile_str_2 = \"\"\"\n",
"FROM openmined/grid-backend:0.8.5-beta.10\n",
"custom_dockerfile_str_2 = f\"\"\"\n",
"FROM openmined/grid-backend:{syft_base_worker_tag}\n",
"\n",
"RUN pip install opendp\n",
"\"\"\".strip()\n",
@@ -1260,8 +1260,8 @@
"metadata": {},
"outputs": [],
"source": [
"custom_dockerfile_str_3 = \"\"\"\n",
"FROM openmined/grid-backend:0.8.5-beta.10\n",
"custom_dockerfile_str_3 = f\"\"\"\n",
"FROM openmined/grid-backend:{syft_base_worker_tag}\n",
"\n",
"RUN pip install recordlinkage\n",
"\"\"\".strip()\n",
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.8.5"
__version__ = "0.8.6-beta.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
2 changes: 1 addition & 1 deletion packages/grid/backend/worker_cpu.dockerfile
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
# Later we'd want to uninstall old python, and then install a new python runtime...
# ... but pre-built syft deps may break!

ARG SYFT_VERSION_TAG="0.8.5"
ARG SYFT_VERSION_TAG="0.8.6-beta.0"
FROM openmined/grid-backend:${SYFT_VERSION_TAG}

ARG PYTHON_VERSION="3.12"
2 changes: 1 addition & 1 deletion packages/grid/devspace.yaml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ vars:
DEVSPACE_ENV_FILE: "default.env"
CONTAINER_REGISTRY: "docker.io"
NODE_NAME: "mynode"
VERSION: "0.8.5"
VERSION: "0.8.6-beta.0"

# 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
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": "pygrid-ui",
"version": "0.8.5",
"version": "0.8.6-beta.0",
"private": true,
"scripts": {
"dev": "pnpm i && vite dev --host --port 80",
4 changes: 2 additions & 2 deletions packages/grid/helm/syft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.8.5"
appVersion: "0.8.5"
version: "0.8.6-beta.0"
appVersion: "0.8.6-beta.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.8.5
version: 0.8.6-beta.0

# Force default secret values for development. DO NOT SET THIS TO FALSE IN PRODUCTION
randomizedSecrets: true
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ data:
RABBITMQ_VERSION: 3
SEAWEEDFS_VERSION: 3.59
DOCKER_IMAGE_SEAWEEDFS: chrislusf/seaweedfs:3.55
VERSION: 0.8.5
VERSION: 0.8.6-beta.0
VERSION_HASH: unknown
STACK_API_KEY: ""

4 changes: 2 additions & 2 deletions packages/grid/podman/podman-kube/podman-syft-kube.yaml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ spec:
- configMapRef:
name: podman-syft-config

image: docker.io/openmined/grid-backend:0.8.5
image: docker.io/openmined/grid-backend:0.8.6-beta.0
imagePullPolicy: IfNotPresent
resources: {}
tty: true
@@ -57,7 +57,7 @@ spec:
envFrom:
- configMapRef:
name: podman-syft-config
image: docker.io/openmined/grid-frontend:0.8.5
image: docker.io/openmined/grid-frontend:0.8.6-beta.0
imagePullPolicy: IfNotPresent
resources: {}
tty: true
2 changes: 1 addition & 1 deletion packages/hagrid/hagrid/deps.py
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
from .nb_output import NBOutput
from .version import __version__

LATEST_BETA_SYFT = "0.8.5"
LATEST_BETA_SYFT = "0.8.6-beta.0"

DOCKER_ERROR = """
You are running an old version of docker, possibly on Linux. You need to install v2.
4 changes: 2 additions & 2 deletions packages/hagrid/hagrid/manifest_template.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
manifestVersion: 0.1
hagrid_version: 0.3.112
syft_version: 0.8.5
dockerTag: 0.8.5
syft_version: 0.8.6-beta.0
dockerTag: 0.8.6-beta.0
baseUrl: https://raw.githubusercontent.com/OpenMined/PySyft/
hash: 95c17b2d0d4d2ab97727315eb1545b3fd74f8fdc
target_dir: ~/.hagrid/PySyft/
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.8.5"
version = attr: "0.8.6-beta.0"
description = Perform numpy-like analysis on data that remains in someone elses server
author = OpenMined
author_email = info@openmined.org
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.8.5"
__version__ = "0.8.6-beta.0"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
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.8.5"
__version__ = "0.8.6-beta.0"

# stdlib
from collections.abc import Callable
8 changes: 4 additions & 4 deletions packages/syftcli/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
manifestVersion: 1.0

syftVersion: 0.8.5
dockerTag: 0.8.5
syftVersion: 0.8.6-beta.0
dockerTag: 0.8.6-beta.0

images:
- docker.io/openmined/grid-frontend:0.8.5
- docker.io/openmined/grid-backend:0.8.5
- docker.io/openmined/grid-frontend:0.8.6-beta.0
- docker.io/openmined/grid-backend:0.8.6-beta.0
- docker.io/library/mongo:7.0.4
- docker.io/traefik:v2.10

10 changes: 5 additions & 5 deletions tests/integration/container_workload/pool_image_test.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ def test_image_build(domain_1_port) -> None:
port=domain_1_port, email="info@openmined.org", password="changethis"
)

syft_base_tag = "0.8.5-beta.10" # {sy.__version__}
syft_base_tag = {sy.__version__}

# Submit Docker Worker Config
docker_config_rl = f"""
@@ -77,9 +77,9 @@ def test_pool_launch(domain_1_port) -> None:
domain_client: DomainClient = sy.login(
port=domain_1_port, email="info@openmined.org", password="changethis"
)
# assert len(domain_client.worker_pools.get_all()) == 1
assert len(domain_client.worker_pools.get_all()) == 1

syft_base_tag = "0.8.5-beta.10" # {sy.__version__}
syft_base_tag = {sy.__version__}

# Submit Docker Worker Config
docker_config_opendp = f"""
@@ -119,7 +119,7 @@ def test_pool_launch(domain_1_port) -> None:
assert len(worker_pool_res) == 3

assert all(worker.error is None for worker in worker_pool_res)
# assert len(domain_client.worker_pools.get_all()) == 2
assert len(domain_client.worker_pools.get_all()) == 2

worker_pool = domain_client.worker_pools[worker_pool_name]
assert len(worker_pool.worker_list) == 3
@@ -181,7 +181,7 @@ def test_pool_image_creation_job_requests(domain_1_port) -> None:
assert isinstance(res, SyftSuccess)
ds_client = sy.login(email=ds_email, password="secret_pw", port=domain_1_port)

syft_base_tag = "0.8.5-beta.10" # {sy.__version__}
syft_base_tag = {sy.__version__}

# the DS makes a request to create an image and a pool based on the image