Skip to content

Commit

Permalink
Merge pull request #8614 from OpenMined/bump_version_0.8.5
Browse files Browse the repository at this point in the history
Bumped version to 0.8.5
  • Loading branch information
teo-milea authored Mar 22, 2024
2 parents 497b54a + 0b49d08 commit dd99cf5
Show file tree
Hide file tree
Showing 21 changed files with 40 additions and 33 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.8.5-beta.10
current_version = 0.8.5
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.4
current_version = 0.8.5
tag = False
tag_name = {new_version}
commit = True
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.8.5-beta.10"
__version__ = "0.8.5"
# elsewhere we can call this file: `python VERSION` and simply take the stdout

# stdlib
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.8.5-beta.10"
__version__ = "0.8.5"
# 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/worker_cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.10"
ARG SYFT_VERSION_TAG="0.8.5"
FROM openmined/grid-backend:${SYFT_VERSION_TAG}

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

# 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
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": "pygrid-ui",
"version": "0.8.5-beta.10",
"version": "0.8.5",
"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.8.5-beta.10"
appVersion: "0.8.5-beta.10"
version: "0.8.5"
appVersion: "0.8.5"
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-beta.10
version: 0.8.5

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

Expand Down
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
Expand Up @@ -41,7 +41,7 @@ spec:
- configMapRef:
name: podman-syft-config

image: docker.io/openmined/grid-backend:0.8.5-beta.10
image: docker.io/openmined/grid-backend:0.8.5
imagePullPolicy: IfNotPresent
resources: {}
tty: true
Expand All @@ -57,7 +57,7 @@ spec:
envFrom:
- configMapRef:
name: podman-syft-config
image: docker.io/openmined/grid-frontend:0.8.5-beta.10
image: docker.io/openmined/grid-frontend:0.8.5
imagePullPolicy: IfNotPresent
resources: {}
tty: true
Expand Down
4 changes: 2 additions & 2 deletions packages/hagrid/hagrid/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import os
from typing import Any

STABLE_BRANCH = "0.8.4"
DEFAULT_BRANCH = "0.8.4"
STABLE_BRANCH = "0.8.5"
DEFAULT_BRANCH = "0.8.5"
DEFAULT_REPO = "OpenMined/PySyft"

arg_defaults = {
Expand Down
2 changes: 1 addition & 1 deletion packages/hagrid/hagrid/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from .nb_output import NBOutput
from .version import __version__

LATEST_BETA_SYFT = "0.8.5-beta.10"
LATEST_BETA_SYFT = "0.8.5"

DOCKER_ERROR = """
You are running an old version of docker, possibly on Linux. You need to install v2.
Expand Down
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-beta.10
dockerTag: 0.8.5-beta.10
syft_version: 0.8.5
dockerTag: 0.8.5
baseUrl: https://raw.githubusercontent.com/OpenMined/PySyft/
hash: 95c17b2d0d4d2ab97727315eb1545b3fd74f8fdc
target_dir: ~/.hagrid/PySyft/
Expand Down
2 changes: 1 addition & 1 deletion packages/hagrid/hagrid/stable_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LATEST_STABLE_SYFT = "0.8.4"
LATEST_STABLE_SYFT = "0.8.5"
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-beta.10"
version = attr: "0.8.5"
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.8.5-beta.10"
__version__ = "0.8.5"
# 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.8.5-beta.10"
__version__ = "0.8.5"

# stdlib
from collections.abc import Callable
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/stable_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LATEST_STABLE_SYFT = "0.8.4"
LATEST_STABLE_SYFT = "0.8.5"
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-beta.10
dockerTag: 0.8.5-beta.10
syftVersion: 0.8.5
dockerTag: 0.8.5

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

Expand Down
19 changes: 13 additions & 6 deletions tests/integration/container_workload/pool_image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ def test_image_build(domain_1_port) -> None:
port=domain_1_port, email="[email protected]", password="changethis"
)

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

# Submit Docker Worker Config
docker_config_rl = """
FROM openmined/grid-backend:0.8.5-beta.10
docker_config_rl = f"""
FROM openmined/grid-backend:{syft_base_tag}
RUN pip install recordlinkage
"""
docker_config = DockerWorkerConfig(dockerfile=docker_config_rl)
Expand Down Expand Up @@ -77,9 +79,11 @@ def test_pool_launch(domain_1_port) -> None:
)
# assert len(domain_client.worker_pools.get_all()) == 1

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

# Submit Docker Worker Config
docker_config_opendp = """
FROM openmined/grid-backend:0.8.5-beta.10
docker_config_opendp = f"""
FROM openmined/grid-backend:{syft_base_tag}
RUN pip install opendp
"""
docker_config = DockerWorkerConfig(dockerfile=docker_config_opendp)
Expand Down Expand Up @@ -177,9 +181,12 @@ 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__}

# the DS makes a request to create an image and a pool based on the image
docker_config_np = """
FROM openmined/grid-backend:0.8.5-beta.10

docker_config_np = f"""
FROM openmined/grid-backend:{syft_base_tag}
RUN pip install numpy
"""
docker_config = DockerWorkerConfig(dockerfile=docker_config_np)
Expand Down

0 comments on commit dd99cf5

Please sign in to comment.