Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Support Python 3.12

Open johnthagen opened this issue 2 years ago • 10 comments

Checklist

Proposed new feature or change

Support Python 3.12 and upload 3.12 wheels to PyPI for supported platforms.

References

Upstream dependent library tracking issues for 3.12 support

  • https://github.com/tensorflow/tensorflow/issues/62003
  • https://github.com/pytorch/pytorch/issues/110436

Additional information

Follow on to

  • #5620
  • #6288

johnthagen avatar Oct 17 '23 15:10 johnthagen

Pytorch 2.2.0 is released with 3.12 wheels

  • https://pypi.org/project/torch/2.2.0/#files

johnthagen avatar Mar 08 '24 13:03 johnthagen

Tensorflow 2.16.1 has been released with 3.12 wheels

  • https://pypi.org/project/tensorflow/2.16.1/#files

johnthagen avatar Mar 08 '24 13:03 johnthagen

nice

Kroppeb avatar Mar 08 '24 13:03 Kroppeb

@ssheorey Just a friendly heads up that it looks like 3.12 support for Open3D could begin now.

johnthagen avatar Mar 10 '24 12:03 johnthagen

Would someone like to take a shot at this one? You can use the Python 3.11 support PR as a reference. This should be much simpler, since we don't expect any significant changes in the CI (PyTorch is still sticking to pre_cxx11 abi and Tensorflow is only available at cxx_11 abi). Happy to help once a basic PR is in place.

ssheorey avatar Mar 19 '24 20:03 ssheorey

Would someone like to take a shot at this one? You can use the Python 3.11 support PR as a reference. This should be much simpler, since we don't expect any significant changes in the CI (PyTorch is still sticking to pre_cxx11 abi and Tensorflow is only available at cxx_11 abi). Happy to help once a basic PR is in place.

Gonna give it a shot based on the referenced Py 3.11 PR. Don't know the codebase but it seems simple enough.

swheaton avatar Mar 24 '24 23:03 swheaton

Ubuntu 24.04 has Python 3.12 by default, so Open3D support for Python 3.12 is nice. And if we have sudo apt install Python3-Open3D will be great!

panovr avatar Jun 28 '24 10:06 panovr

Seconded. Would be great if we have 3.12 support!

Uchanka avatar Jul 04 '24 22:07 Uchanka

When will python 3.12 be supported?

RunsenXu avatar Jul 24 '24 22:07 RunsenXu

@RunsenXu Follow

  • #6717

It is tagged for the next release (0.19 milestone).

johnthagen avatar Jul 25 '24 11:07 johnthagen

The link for Linux wheel is 404: https://github.com/isl-org/Open3D/releases/download/main-devel/open3d-0.18.0+fcc396e-cp312-cp312-manylinux_2_31_x86_64.whl

I find the link from https://www.open3d.org/docs/latest/getting_started.html

Also the Linux wheel doesn't showup here: https://github.com/isl-org/Open3D/releases/ in the Devel Package sections.

Is it due to a build error? I build the Linux wheel locally and need to disable -Werror to work, similiar to this issue: https://gitlab.com/libeigen/eigen/-/issues/2506

YuzhongHuangCS avatar Oct 24 '24 05:10 YuzhongHuangCS

also cant install for windows from the link in the getting started...

please just release a inbetween version that supports 3.12 and np2 on pypi...

Liquidmasl avatar Dec 18 '24 17:12 Liquidmasl