pip package rules for bazel that are fast (incremental fetch), support different python versions and work with all kinds of packages (i.e. packages with namespaces)
So one of my coworkers recently started using the opencv dependency. This project has a very large C component but thankfully they provide a number of binary wheels for different platforms.
For local development on macOS pip_install() has been able to install the correct wheel opencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl. However, during our CI process pip_install() is instead downloading the source and compiling which can take over 15 minutes.
If I manually pip install on one of our CI instances (pip3 install opencv-python) it finds and downloads opencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl.
Any thoughts as to what might be going on here or how to debug?
So one of my coworkers recently started using the
opencv
dependency. This project has a very large C component but thankfully they provide a number of binary wheels for different platforms.For local development on macOS
pip_install()
has been able to install the correct wheelopencv_python-4.5.1.48-cp38-cp38-macosx_10_13_x86_64.whl
. However, during our CI processpip_install()
is instead downloading the source and compiling which can take over 15 minutes.If I manually pip install on one of our CI instances (
pip3 install opencv-python
) it finds and downloadsopencv_python-4.5.1.48-cp38-cp38-manylinux2014_x86_64.whl
.Any thoughts as to what might be going on here or how to debug?