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.5.post2 branch with dev #8653

Merged
merged 5 commits into from Apr 2, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/cd-post-release-tests.yml
Expand Up @@ -169,12 +169,13 @@ jobs:
${{ runner.os }}-pip-py${{ matrix.python-version }}-

- name: Install Syft
shell: bash
run: |
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}}
pip install --extra-index-url https://test.pypi.org/simple/ syft==${{inputs.syft_version}}
fi

- name: Check Syft version
Expand Down Expand Up @@ -283,7 +284,7 @@ jobs:
SYFT_VERSION: ${{ inputs.syft_version }}
run: |
if [[ ${{ inputs.release_platform }} == "TEST_PYPI" ]]; then
pip install -i https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}
pip install --extra-index-url https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}
fi
if [[ ${{ inputs.release_platform }} == "REAL_PYPI" ]]; then
pip install syft[data_science,dev]==${{ inputs.syft_version }}
Expand Down
14 changes: 11 additions & 3 deletions notebooks/api/0.8/06-multiple-code-requests.ipynb
Expand Up @@ -93,7 +93,7 @@
"metadata": {},
"outputs": [],
"source": [
"dataset2 = sy.Dataset(name=\"My Sample Dataset - II\")\n",
"dataset2 = sy.Dataset(name=\"Age Dataset\")\n",
"asset2 = sy.Asset(name=\"Sample Data - II\")\n",
"asset2.set_obj(sample_data * 10)\n",
"asset2.set_mock(mock_sample_data * 10, mock_is_real=False)\n",
Expand Down Expand Up @@ -174,7 +174,7 @@
"metadata": {},
"outputs": [],
"source": [
"assert len(datasets) == 2\n",
"assert len(datasets) == 1\n",
"dataset_ptr = datasets[0]\n",
"dataset_ptr"
]
Expand Down Expand Up @@ -477,7 +477,7 @@
"metadata": {},
"outputs": [],
"source": [
"datasets = ds_client.datasets.search(name=\"My Sample Dataset - II\")\n",
"datasets = ds_client.datasets.search(name=\"Age Dataset\")\n",
"dataset_ptr2 = datasets[0]\n",
"dataset_ptr2"
]
Expand Down Expand Up @@ -552,6 +552,14 @@
"if node.deployment_type.value in [\"python\", \"single_container\"]:\n",
" node.land()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "40",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
2 changes: 2 additions & 0 deletions packages/syft/tests/syft/stores/queue_stash_test.py
@@ -1,5 +1,6 @@
# stdlib
from threading import Thread
import time
from typing import Any

# third party
Expand Down Expand Up @@ -377,6 +378,7 @@ def helper_queue_update_threading(root_verify_key, create_queue_cbk) -> None:
repeats = 5

queue = create_queue_cbk()
time.sleep(1)

obj = mock_queue_object()
queue.set(root_verify_key, obj, ignore_duplicates=False)
Expand Down