-
Notifications
You must be signed in to change notification settings - Fork 220
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
[Workflow Interface] Issues observed in running Workflow API tutorials with Python 3.12 #1414
Comments
If I understand correctly, the main issue is this: 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 Have you tried upgrading pip in your python 3.12 virtual environment? pip install --upgrade pip |
Upgrading pip does not help with this particular issue. My understanding is that ray version 2.9.2 ( Environment: Python 3.10: ray version 2.9.2 is available
Environment: Python 3.11: ray version 2.9.2 is available
Environment: Python 3.12: ray version 2.9.2 is NOT available
This issue can be solved by upgrading ray to latest version (2.43.0). However this is not the main issue As mentioned in issue description, after upgrading ray - there is another compatibility issue observed with metaflow version (with Python 3.12). This issue is caused since imp module has been removed in Python 3.12 (Ref: https://docs.python.org/3/whatsnew/3.12.html#imp) Upgrading to latest versions of metaflow is not a simple task due to modifications in |
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: