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

[Feature] Python 3.10 wheel #19116

Closed
1 of 2 tasks
austinnichols101 opened this issue Oct 5, 2021 · 27 comments · Fixed by #21221 or #24829
Closed
1 of 2 tasks

[Feature] Python 3.10 wheel #19116

austinnichols101 opened this issue Oct 5, 2021 · 27 comments · Fixed by #21221 or #24829
Labels
enhancement Request for new feature and/or capability

Comments

@austinnichols101
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Python 3.10 released:

3.10.0 final: Monday, 2021-10-04

Use case

No response

Related issues

#11287

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@austinnichols101 austinnichols101 added the enhancement Request for new feature and/or capability label Oct 5, 2021
@darcamo
Copy link

darcamo commented Dec 13, 2021

Any news on this?

Arch Linux just updated to Python 3.10 (3.10.1) and when trying to recreate my virtual environments ( using poetry) it failed with error

RuntimeError

  Unable to find installation candidates for ray (1.9.0)

I suspect it is because of the wheels missing. Everything worked fine on Python 3.9.

@kyoungseoun-chung
Copy link

Any news on this?

Arch Linux just updated to Python 3.10 (3.10.1) and when trying to recreate my virtual environments ( using poetry) it failed with error

RuntimeError

  Unable to find installation candidates for ray (1.9.0)

I suspect it is because of the wheels missing. Everything worked fine on Python 3.9.

I also faced the same problem. And seems like definitely wheel is missing...

# ray/python/setup.py:
SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9)]

Anyone working on this?

@mzaiprog
Copy link

Adding 3.10 support via patching:
# ray/python/setup.py:
SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9)]

to
# ray/python/setup.py:
SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9), (3, 10)]

Did the trick for me and let it build & install on Windows 11 by following the steps denoted here:
https://docs.ray.io/en/master/ray-contribute/development.html#building-ray-on-windows-full

Tensorflow inference in Actor instances called from ActorPool does work properly.

@dynamicwebpaige
Copy link
Contributor

Note, for context:

This issue is also a blocker for FlyteKit, a Python SDK for Flyte -- which is used in production by Lyft, Spotify, and Freenome.

@dashsatish
Copy link

Any updates on the wheels for python3.10. Atleast Ray-Core is very much awaited for :)

@cmertin
Copy link

cmertin commented Apr 20, 2022

There does seem to be a patch for arch for python 3.10, wonder why they haven't released it for 3.10 officially yet, even in nightly

@siekmanj
Copy link

Any updates on this issue?

@lizelive
Copy link

3.10 📦 support would be very nice makes ray seem dead without it

@wumpus
Copy link

wumpus commented May 14, 2022

To explain the why of the previous comment: I use ray in the guts of some middleware that facilitates distributed computing for the black hole research group that published that image of the black hole in the middle of our galaxy yesterday.

I would like to support as many python versions as possible, especially the "current" one. But I don't know how to install ray for python 3.10, reliably across many versions of Linux. Which is what wheels do best.

So, what do I do? Tell people don't use 3.10, use 3.9 or 3.11?

@mzaiprog
Copy link

mzaiprog commented May 14, 2022 via email

@matthiaskoenig
Copy link

Hi all,
it would be great if this could be solved.

This is already one of the highest rated issues based on reactions (so the community wants this)
https://github.com/ray-project/ray/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
and there are multiple open pull requests which seem to address this.

Any chance of solving this or explaining what the big issue is with python 3.10?
Best Matthias

@tomprimozic
Copy link

At the very least it could be mentioned on the website that Ray doesn't support Python 3.10.

Currently if I follow instructions on the website pip install 'ray[data]' I get:

ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray

@pcmoritz
Copy link
Contributor

We are trying hard to make Python 3.10 wheels available for the Ray 1.13 release :)

@scv119 scv119 reopened this May 22, 2022
@zndr27
Copy link

zndr27 commented Jun 2, 2022

This would be much appreciated! I am also looking for python 3.10 support.

@pcmoritz
Copy link
Contributor

pcmoritz commented Jun 11, 2022

I'm closing this now, 3.10 wheels are now available for Ray 1.13 which just got released :)

Thanks for all your patience!

@matthiaskoenig
Copy link

Could anybody get this working? I have the feeling the 3.10 wheels have not been distributed to pypi.
Also I can't find them in the daily builds either listed here https://docs.ray.io/en/master/ray-overview/installation.html#daily-releases-nightlies
I am getting Could not find a version that satisfies the requirement ray (from versions: none) trying a pip install

trip3:~/git/pkdb_data$ mkvirtualenv ray-py310 --python=python3.10
created virtual environment CPython3.10.4.final.0-64 in 228ms
  creator CPython3Posix(dest=/home/mkoenig/envs/ray-py310, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/mkoenig/.local/share/virtualenv/seed-app-data/v1.0.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
virtualenvwrapper.user_scripts creating /home/mkoenig/envs/ray-py310/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/mkoenig/envs/ray-py310/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/mkoenig/envs/ray-py310/bin/preactivate
virtualenvwrapper.user_scripts creating /home/mkoenig/envs/ray-py310/bin/postactivate
virtualenvwrapper.user_scripts creating /home/mkoenig/envs/ray-py310/bin/get_env_details

(ray-py310) trip3:~/git/pkdb_data$ pip install ray
ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray

@mzaiprog
Copy link

mzaiprog commented Jun 12, 2022 via email

@austinnichols101
Copy link
Author

Working with 3.10 (tested on Debian and Ubuntu) with the daily builds.

Here's my requirements.txt

...
ray[default,serve] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl
...

@acxz
Copy link
Contributor

acxz commented Aug 19, 2022

@pcmoritz this issue seems to be prematurely closed with only partial support for 3.10 can be open it up again until #21221 is merged in?

@acxz
Copy link
Contributor

acxz commented Aug 26, 2022

Completed!

@scv119
Copy link
Contributor

scv119 commented Aug 29, 2022

thanks @acxz!

@fehrin1
Copy link

fehrin1 commented Sep 7, 2022

At least for Windows this is not resolved, with Python 3.10 on Windows 10 20H2 i get
pip install -U ray
ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray
Is there any progress (to be expected)?
python --version
Python 3.10.7
https://www.python.org/downloads/release/python-3107

@fehrin1
Copy link

fehrin1 commented Sep 7, 2022

What works is
pip install -U ray-cpp
Collecting ray-cpp
Downloading ray_cpp-2.0.0-cp310-cp310-win_amd64.whl (18.5 MB)
But this is still not ray.

@fehrin1
Copy link

fehrin1 commented Sep 7, 2022

On https://pypi.org/project/ray/#files i can see there are cp310 packages for Linux and MacOS but not for Windows, are they to be supplied in the foreseeable future?

@AndreMPCosta
Copy link

Same problem:


pip install -U ray

ERROR: Could not find a version that satisfies the requirement ray (from versions: none)
ERROR: No matching distribution found for ray

Windows 11, Python 3.10

@rickyyx
Copy link
Contributor

rickyyx commented Dec 16, 2022

On https://pypi.org/project/ray/#files i can see there are cp310 packages for Linux and MacOS but not for Windows, are they to be supplied in the foreseeable future?

Windows py310 wheels will be supported in the next release.

For mitigation - nightly windows python310 wheel is available: https://docs.ray.io/en/latest/ray-overview/installation.html#daily-releases-nightlies

@rickyyx
Copy link
Contributor

rickyyx commented Dec 27, 2022

Fixed the missing 2.2.0 window wheel for py3.10 and uploaded to pypi. https://pypi.org/project/ray/2.2.0/#files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for new feature and/or capability
Projects
None yet