OPM/opm-common

Consider Python 3.11 support

mferrera opened this issue · 4 comments

Currently distributions are built for Python up to 3.10, but in Equinor we soon hope to start a movement toward Python 3.11. Would it be possible to also build distributions for Python 3.11 on PyPI?

akva2 commented

While this is now in principle available, it's only on test-pypi (tomorrow, it runs nightly). As there were some substantial changes in python 3.11, I don't feel comfortable pushing it out to the main index blindly. If you can please check that the package in there works fine, I will push out the 2023.10 release to the main index.

Thanks very much for making these wheels available for testing. I have done some testing in Python 3.11 with the packages that depend on opm wheels and everything seems OK–insofar as the functionality used works as expected. The only difference I noticed was OpmInputError raising a RuntimeError over a ValueError in Python–probably just pybind11, and an exception was expected in either case.

We need to upgrade our red hat machines and for that need python 3.11 support. Is there any way to get opm 2023.10 support for python 3.11?

akva2 commented

3.11 and 3.12 added to main index.