Closed oroppas closed 1 year ago
It usually isn't very disruptive to bump the pybind module. Shouldn't be a problem...
https://github.com/iree-org/iree/commit/beaa511a5807a4aee749c2acd381d791e577990a bumped the pybind submodule to https://github.com/pybind/pybind11/commit/59aa99860c60bd171b9565e9920f125fdb749267. I'm not sure why we stopped at 2.9. @ScottTodd ?
(Progress here is likely to be a bit slow over the holiday though)
I tried to update pybind for this in https://github.com/iree-org/iree/pull/11564, but many things broke... The errors seemed unrelated to Python, so I suspected that something else in our Docker images was unstable.
beaa511 bumped the pybind submodule to pybind/pybind11@59aa998. I'm not sure why we stopped at 2.9. @ScottTodd ?
That was the latest at the time (December 2021, last year)
Ah, I mixed that up with another recent third_party bump you did: https://github.com/iree-org/iree/commit/4293848f0e6d2ed49cdedee458acbdfc14aa5896
Okay, I updated our version of pybind and was able to build the Python bindings on my Windows machine using Python 3.11. I think that fixes this issue as reported, but we should also start building and distributing Python 3.11 wheels for installation through pip.
I confirmed the update. IREE can be built on my Linux (Fedora 37). Thank you!
Request description
IREE's
third_party/pybind11
is a bit old (2.9.0.dev1) to support Python 3.11. Python 3.11 support is added in pybind11 v2.10.1.Bumping up pybind11 version should fix the issue.
What component(s) does this issue relate to?
Python
Additional context
Here's the error message during build: