bazel test cauliflowervest:all_smoke_tests
ERROR: error loading package '': Encountered error while reading extension file 'requirements.bzl': no such package '@pip_deps//': pip_import failed: Collecting python-ldap==2.4.44 (from -r /cauliflowervest/third_party/requirements.txt (line 1))
Using cached python-ldap-2.4.44.tar.gz
Collecting setuptools==18.5 (from -r /cauliflowervest/third_party/requirements.txt (line 3))
Using cached setuptools-18.5-py2.py3-none-any.whl
Saved ./setuptools-18.5-py2.py3-none-any.whl
Skipping setuptools, due to already being wheel.
Building wheels for collected packages: python-ldap
Running setup.py bdist_wheel for python-ldap: started
Running setup.py bdist_wheel for python-ldap: finished with status 'error'
Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cn/9cgj48195wg_tbnn10frpbv40000gn/T/pip-build-ire_oZ/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/cn/9cgj48195wg_tbnn10frpbv40000gn/T/tmpQRF7Krpip-wheel-:
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
libs: ldap_r
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Running setup.py clean for python-ldap
Failed to build python-ldap
( Failed building wheel for python-ldap
ERROR: Failed to build one or more wheels
)
ERROR: error loading package '': Encountered error while reading extension file 'requirements.bzl': no such package '@pip_deps//': pip_import failed: Collecting python-ldap==2.4.44 (from -r /cauliflowervest/third_party/requirements.txt (line 1))
Using cached python-ldap-2.4.44.tar.gz
Collecting setuptools==18.5 (from -r /cauliflowervest/third_party/requirements.txt (line 3))
Using cached setuptools-18.5-py2.py3-none-any.whl
Saved ./setuptools-18.5-py2.py3-none-any.whl
Skipping setuptools, due to already being wheel.
Building wheels for collected packages: python-ldap
Running setup.py bdist_wheel for python-ldap: started
Running setup.py bdist_wheel for python-ldap: finished with status 'error'
Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/var/folders/cn/9cgj48195wg_tbnn10frpbv40000gn/T/pip-build-ire_oZ/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/cn/9cgj48195wg_tbnn10frpbv40000gn/T/tmpQRF7Krpip-wheel-:
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
libs: ldap_r
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Running setup.py clean for python-ldap
Failed to build python-ldap
( Failed building wheel for python-ldap
ERROR: Failed to build one or more wheels
)
INFO: Elapsed time: 2.528s
The install version from pip is 2.5.2, is there maybe a way to get bazel to look for the version pip installs or some other work around for this?