You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Issues observed while running a Workflow Interface tutorial with virtual environment created with Python 3.12
To Reproduce
Steps to reproduce the behavior:
Create a virtual environment with Python 3.12
Run the Workflow Interface Tutorial (for e.g. openfl-tutorials/experimental/workflow/101_MNIST.ipynb)
The tutorial fails with errors
Expected behavior
The tutorial should run successfully without issues
Logs and Snapshots:
Installation of Workflow API pre-requisites !pip install -r workflow_interface_requirements.txt
ERROR: Could not find a version that satisfies the requirement ray==2.9.2 (from versions: 2.31.0, 2.32.0rc0, 2.32.0, 2.33.0, 2.34.0, 2.35.0, 2.36.0, 2.36.1, 2.37.0, 2.38.0, 2.39.0, 2.40.0, 2.41.0, 2.42.0, 2.42.1, 2.43.0)
ERROR: No matching distribution found for ray==2.9.2
After upgrading ray
ModuleNotFoundError Traceback (most recent call last)
Cell In[4], line 3
1 from copy import deepcopy
----> 3 from openfl.experimental.workflow.interface import FLSpec, Aggregator, Collaborator
4 from openfl.experimental.workflow.runtime import LocalRuntime
5 from openfl.experimental.workflow.placement import aggregator, collaborator
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/openfl/experimental/workflow/utilities/metaflow_utils.py:23
21 from dill.source import getsource # nosec
22 # from metaflow.datastore import DATASTORES, FlowDataStore
---> 23 from metaflow.datastore import FlowDataStore
24 from metaflow.plugins.datastores.local_storage import LocalStorage
25 from metaflow.plugins import DATASTORES
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/metaflow/init.py:114
111 from .datatools import S3
113 # includefile
--> 114 from .includefile import IncludeFile
116 # Decorators
117 from .decorators import step, _import_plugin_decorators
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/metaflow/includefile.py:50
48 # From here on out, this is the IncludeFile implementation.
49 from .datatools import Local, S3
---> 50 from metaflow.plugins.azure.includefile_support import Azure
51 from metaflow.plugins.gcp.includefile_support import GS
53 DATACLIENTS = {
54 "local": Local,
55 "s3": S3,
56 "azure": Azure,
57 "gs": GS,
58 }
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/metaflow/plugins/init.py:115
113 from .retry_decorator import RetryDecorator
114 from .resources_decorator import ResourcesDecorator
--> 115 from .aws.batch.batch_decorator import BatchDecorator
116 from .kubernetes.kubernetes_decorator import KubernetesDecorator
117 from .argo.argo_workflows_decorator import ArgoWorkflowsInternalDecorator
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/metaflow/plugins/aws/batch/batch_decorator.py:8
5 import time
7 from metaflow import util
----> 8 from metaflow import R, current
10 from metaflow.decorators import StepDecorator
11 from metaflow.plugins import ResourcesDecorator
File ~/miniforge-pypy3/envs/env_openfl_latest_3.12/lib/python3.12/site-packages/metaflow/R.py:2
1 import os
----> 2 import imp
3 from tempfile import NamedTemporaryFile
5 from .util import to_bytes
ModuleNotFoundError: No module named 'imp'
'
Desktop (please complete the following information):
OS: Ubuntu (WSL)
OS Version: 22.04.3 LTS
Python: 3.12
Additional context
Further issues observed after updating metaflow version
The text was updated successfully, but these errors were encountered:
Description
Issues observed while running a Workflow Interface tutorial with virtual environment created with Python 3.12
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tutorial should run successfully without issues
Logs and Snapshots:
Installation of Workflow API pre-requisites
!pip install -r workflow_interface_requirements.txt
After upgrading ray
'
Desktop (please complete the following information):
Additional context
Further issues observed after updating metaflow version
The text was updated successfully, but these errors were encountered: