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 syft version to 0.8.5-post.2 #8646

Merged
merged 4 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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-post.1
current_version = 0.8.5-post.2
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.5-post.1
current_version = 0.8.5-post.2
tag = False
tag_name = {new_version}
commit = True
Expand Down
75 changes: 74 additions & 1 deletion .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ on:
required: true
type: string

release_platform:
description: "Release Platform"
required: true
type: string
default: "REAL_PYPI"

jobs:
notebook-test-hagrid:
if: github.event.inputs.release_platform == 'REAL_PYPI'
strategy:
max-parallel: 99
matrix:
Expand Down Expand Up @@ -155,13 +162,19 @@ jobs:

- name: Install Syft
run: |
pip install syft==${{ inputs.syft_version }}
if (${{ inputs.release_platform }} == "REAL_PYPI"); then
pip install syft==${{ inputs.syft_version }}
fi
if (${{ inputs.release_platform }}" == "TEST_PYPI"); then
pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }}
fi

- name: Check Syft version
run: |
python -c "import syft; print(syft.__version__)"

notebook-test-k8s-k3d:
if: github.event.inputs.release_platform == 'REAL_PYPI'
strategy:
max-parallel: 99
matrix:
Expand Down Expand Up @@ -216,3 +229,63 @@ jobs:
SYFT_VERSION: ${{ inputs.syft_version }}
run: |
tox -e syft.test.helm

# This job is used to test the syft unit tests on Test PyPi
syft-unit-tests:
strategy:
max-parallel: 99
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.12", "3.11", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: System Architecture
run: |
echo "System Architecture: $(uname -m)"
echo "System Version: $(uname -a)"

- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5

with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: |
python -m pip install --upgrade --user pip

- name: Get pip cache dir
id: pip-cache
shell: bash
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: pip cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-

- name: Install Syft
env:
SYFT_VERSION: ${{ inputs.syft_version }}
run: |
if [[ "${{ inputs.release_platform }}" == "TEST_PYPI" ]]; then
pip install -i https://test.pypi.org/simple/ syft==${{ inputs.syft_version }}[data_science];
fi
if [[ "${{ inputs.release_platform }}" == "REAL_PYPI" ]]; then
pip install syft==${{ inputs.syft_version }}[data_science];
fi

- name: Install Hagrid, tox and uv
run: |
pip install -U hagrid
pip install --upgrade pip uv==0.1.18 tox tox-uv==1.5.1 tox-current-env

- name: Run unit tests
run: |
tox -e syft.test.unit --current-env
2 changes: 2 additions & 0 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ jobs:

outputs:
syft_version: ${{ steps.release_checks.outputs.syft_version }}
release_platform: ${{ github.event.inputs.release_platform }}

steps:
- name: Permission to home directory
Expand Down Expand Up @@ -563,3 +564,4 @@ jobs:
uses: OpenMined/PySyft/.github/workflows/cd-post-release-tests.yml@dev
with:
syft_version: ${{ needs.deploy-syft.outputs.syft_version }}
release_platform: ${{ github.event.inputs.release_platform}}
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mono Repo Global Version
__version__ = "0.8.5-post.1"
# Mono Repo Global Version
__version__ = "0.8.5-post.2"
# 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-post.1"
__version__ = "0.8.5-post.2"
# 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-post.1"
ARG SYFT_VERSION_TAG="0.8.5-post.2"
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-post.1"
VERSION: "0.8.5-post.2"

# 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-post.1",
"version": "0.8.5-post.2",
"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-post.1"
appVersion: "0.8.5-post.1"
version: "0.8.5-post.2"
appVersion: "0.8.5-post.2"
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-post.1
version: 0.8.5-post.2

# 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-post.1
VERSION: 0.8.5-post.2
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-post.1
image: docker.io/openmined/grid-backend:0.8.5-post.2
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-post.1
image: docker.io/openmined/grid-frontend:0.8.5-post.2
imagePullPolicy: IfNotPresent
resources: {}
tty: true
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-post.1"
LATEST_BETA_SYFT = "0.8.5-post.2"

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.113
syft_version: 0.8.5-post.1
dockerTag: 0.8.5-post.1
syft_version: 0.8.5-post.2
dockerTag: 0.8.5-post.2
baseUrl: https://raw.githubusercontent.com/OpenMined/PySyft/
hash: c51169a89a83506dd401442a3900c4cea5330af6
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.5-post.1"
LATEST_STABLE_SYFT = "0.8.5-post.2"
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-post.1"
version = attr: "0.8.5-post.2"
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-post.1"
__version__ = "0.8.5-post.2"
# 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-post.1"
__version__ = "0.8.5-post.2"

# 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.5-post.1"
LATEST_STABLE_SYFT = "0.8.5-post.2"
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-post.1
dockerTag: 0.8.5-post.1
syftVersion: 0.8.5-post.2
dockerTag: 0.8.5-post.2

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

Expand Down
Loading