pip automatically enables build isolation in the presence of a pyproject.toml. However, there are no bindings to OpenCV that are both installable from PyPI and that we can link to. Since the OpenCV Python bindings depend on numpy, we advise users to install with --no-build-isolation to avoid any runtime warnings about mismatching numpy versions.
However, we also use the pyproject.toml to exclude our vendored pybind11 from black formatting, so avoiding this is not a case of simply deleting our pyproject.toml.
pip automatically enables build isolation in the presence of a
pyproject.toml
. However, there are no bindings to OpenCV that are both installable from PyPI and that we can link to. Since the OpenCV Python bindings depend on numpy, we advise users to install with--no-build-isolation
to avoid any runtime warnings about mismatching numpy versions.However, we also use the
pyproject.toml
to exclude our vendored pybind11 from black formatting, so avoiding this is not a case of simply deleting ourpyproject.toml
.