Ray: Support Python 3.7 and build wheels.

Created on 12 Oct 2017  路  19Comments  路  Source: ray-project/ray

This also involves

Most helpful comment

Is there any new release planned now that Python 3.7 is in use in many linux distributions?

All 19 comments

While splitting out MacOS wheels, I thought I'd give 3.7 a try (why not, I was feeling alive). The plumbing in #1205 works, but the 3.7 build fails:

  • Cython claims their latest release will build on CPython master, but I get fails for both Travis and locally using CPython 3.7a2
  • The manylinux docker we're using doesn't have cp37-cp37m yet, which makes sense, though we probably want to work with the Arrow folks to put a beta / rc 3.7 into their image over the next few months

FYI: final release is 2018-06-15

Related to apache/arrow#1125

@danielsuo @robertnishihara if we can get a docker container of any linux distro that has a built version of Python 3.7, we should be able to set up a pipeline to build Arrow & Ray. apache/arrow#1125 is probably more related to some weird in the system setup than Python 3.7 itself, sadly I cannot reproduce it with Python 3.6 on ArchLinux so I'm struggling to narrow down the problem.

Would these work?

@danielsuo they look like a good option.

Another option: fork the manylinux image, add 3.7, and make a failed build for 3.7 not fatal.

That said, it may be cleaner to have a separate workflow for 3.7 that we simply remove / replace with updated a manylinux image when the time comes. Is that what you had in mind?

Bump. Python 3.7 is out (27-Jun).

Is there any new release planned now that Python 3.7 is in use in many linux distributions?

Yeah, we should do this for the next release (0.6).

do you already have a rough idea when 0.6 will be released? :)

@timonbimon our more aggressive timeline is roughly 1 month.

awesome, thanks for the amazing work :)

Looks like Miniconda's latest (default) version download 3.7 now. I feel a lot of installs breaking :(

Good point, thanks for bringing that up. It's in the works here: https://github.com/ray-project/ray/pull/2546, we can prioritize merging it soon.

Fixed by #2546.

The wheels still haven't been uploaded to PyPI, but you can get them by following the instructions at https://ray.readthedocs.io/en/latest/installation.html#trying-the-latest-version-of-ray and modifying the URL to use 3.7.

any updates on this? Would like to be able to use ray on a windows machine. Maybe there is a conda binary available?

@manugarri for Windows, the relevant issue is https://github.com/ray-project/ray/issues/631. We're working on it, but it isn't ready yet.

got it, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WangYiPengPeter picture WangYiPengPeter  路  3Comments

ericl picture ericl  路  3Comments

zhaokang1228 picture zhaokang1228  路  3Comments

dragon28 picture dragon28  路  3Comments

robertnishihara picture robertnishihara  路  3Comments