From f1e91c9dfdd62937b6761192eedb40bacb2ce2ff Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 14:37:16 +0530 Subject: [PATCH 1/7] Add openfl-tutorials as package Signed-off-by: Shah, Karan --- setup.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1151bb0956..e5018fb12c 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,15 @@ def run(self): long_description=open("README.md", encoding="utf-8").read(), long_description_content_type='text/markdown', url='https://github.com/securefederatedai/openfl', - packages=find_packages(include=("openfl", "openfl.*", "openfl-docker", "openfl-workspace")), + packages=find_packages( + include=( + "openfl", + "openfl.*", + "openfl-docker", + "openfl-workspace", + "openfl-tutorials", + ) + ), include_package_data=True, setup_requires=['grpcio-tools>=1.56.2,<1.66.0'], # ensure it is in-sync with `install_requires` install_requires=[ From 53267b05add34b43395d39f47ed23cdbde84e1dd Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 14:50:50 +0530 Subject: [PATCH 2/7] Add __init__.py Signed-off-by: Shah, Karan --- openfl-tutorials/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 openfl-tutorials/__init__.py diff --git a/openfl-tutorials/__init__.py b/openfl-tutorials/__init__.py new file mode 100644 index 0000000000..e69de29bb2 From 6688fda93b8ccc124825e8996d277342365c4c45 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 14:59:31 +0530 Subject: [PATCH 3/7] Add nbformat pkg Signed-off-by: Shah, Karan --- .../experimental/workflow/workflow_interface_requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/openfl-tutorials/experimental/workflow/workflow_interface_requirements.txt b/openfl-tutorials/experimental/workflow/workflow_interface_requirements.txt index 6b4abbf54d..fd3a372667 100644 --- a/openfl-tutorials/experimental/workflow/workflow_interface_requirements.txt +++ b/openfl-tutorials/experimental/workflow/workflow_interface_requirements.txt @@ -5,6 +5,7 @@ dill==0.3.6 matplotlib>=2.0.0 metaflow==2.7.15 nbdev==2.3.12 +nbformat ray==2.9.2 torch torchvision From 44b83044cbff55cc13aea2a9a3987cf38cce2a51 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 16:32:36 +0530 Subject: [PATCH 4/7] Try localhost Signed-off-by: Shah, Karan --- .github/workflows/experimental_workflow_tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/experimental_workflow_tests.yml b/.github/workflows/experimental_workflow_tests.yml index 030f42ed14..f7e48e394c 100644 --- a/.github/workflows/experimental_workflow_tests.yml +++ b/.github/workflows/experimental_workflow_tests.yml @@ -10,6 +10,10 @@ on: permissions: contents: read +env: + # A workaround for long FQDN names provided by GitHub actions. + FQDN: "localhost" + jobs: build: if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface')) From cdba80b2339be786d03cfcfe66122c631a3caf00 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 17:31:08 +0530 Subject: [PATCH 5/7] Revert "Try localhost" This reverts commit 44b83044cbff55cc13aea2a9a3987cf38cce2a51. Signed-off-by: Shah, Karan --- .github/workflows/experimental_workflow_tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/experimental_workflow_tests.yml b/.github/workflows/experimental_workflow_tests.yml index f7e48e394c..030f42ed14 100644 --- a/.github/workflows/experimental_workflow_tests.yml +++ b/.github/workflows/experimental_workflow_tests.yml @@ -10,10 +10,6 @@ on: permissions: contents: read -env: - # A workaround for long FQDN names provided by GitHub actions. - FQDN: "localhost" - jobs: build: if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface')) From cb15151343f54b6abf561d95a90392a2c714e343 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 17:35:01 +0530 Subject: [PATCH 6/7] Try python3.10 Signed-off-by: Shah, Karan --- .github/workflows/experimental_workflow_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/experimental_workflow_tests.yml b/.github/workflows/experimental_workflow_tests.yml index 030f42ed14..1c84a93f26 100644 --- a/.github/workflows/experimental_workflow_tests.yml +++ b/.github/workflows/experimental_workflow_tests.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python 3 uses: actions/setup-python@v3 with: - python-version: "3.8" + python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip From bf81caecee68a762617f0ea3f2ff9b48667db88e Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Mon, 9 Dec 2024 17:52:02 +0530 Subject: [PATCH 7/7] Try localhost Signed-off-by: Shah, Karan --- .github/workflows/experimental_workflow_tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/experimental_workflow_tests.yml b/.github/workflows/experimental_workflow_tests.yml index 1c84a93f26..84166ab362 100644 --- a/.github/workflows/experimental_workflow_tests.yml +++ b/.github/workflows/experimental_workflow_tests.yml @@ -10,6 +10,10 @@ on: permissions: contents: read +env: + # A workaround for long FQDN names provided by GitHub actions. + FQDN: "localhost" + jobs: build: if: (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'workflow_interface'))