The deed is done. In master, the python bindings are now implemented with pybind11, Boost.Python is no longer a dependency. All seems good, but it has the breaking changes detailed below and in the CHANGES.md release notes.
I bumped the version number to 1.9.1dev, so you can count on OIIO_VERSION >= 10901 being the new Python APIs, and < 10901 being the old APIs. This is just in master, so we can continue to tune or change it if there are requested changes. But I think it's an improvement. And nothing has changed in any release branches. > On Nov 9, 2017, at 5:47 PM, Larry Gritz <[email protected]> wrote: > > Those of you who have the OIIO Python bindings on your critical paths, please > be aware of this outstanding PR: > > https://github.com/OpenImageIO/oiio/pull/1801 > > in which I refactor the python bindings to use pybind11 instead of > Boost.Python, and in the process make some changes to our Python APIs. They > are not big changes, but they are breaking changes! The most significant is > that the methods that pass big blocks of pixels around (like > ImageInput.read_image()) will now deal in Numpy ndarray's, rather than old > school python array.array. I think this is an improvement, but like I said, > it's a breaking change. > > This will only go in master, it won't retroactively break any release > branches, including the current stable 1.8 (which will be the supported > release family for several more months, I'm expecting). > > But to keep from having a surprise in June when you switch to 1.9 after a > release, and then it's WAY too late to change anything, I strongly encourage > stakeholders in the Python APIs to check out the proposed PR, try it with > your scripts and figure out how big a PITA the conversion is going to be. We > can certainly make course corrections if the consensus is that I've made > things too painful. > > > -- > Larry Gritz > [email protected] > > > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
