Closed jonbuffington closed 4 years ago
running the test on master
?
running the test on
master
?
Yes.
more info about python and your system would help, try using wheels only by changing pip_install in the WORKSPACE to pip_install(["--only-binary", ":all"])
. I updated examples
to have this argument
I am testing using MacOS 10.15.2 with brew installed python 3 (3.7.6).
Are you suggesting _piptool_install_tests_3()
-> _piptool_install_tests_3(["--only-binary", ":all"])
? If so, the test still fails after applying that change.
BTW, thanks for looking into this with me!
I pushed to our CI server (linux Python 3.7.4) and this issue appears to be a macOS homebrew-installed Python 3.7.6 issue.
If I install miniconda3 and use its Python 3.7.4 installation, the tests pass. Sorry for the noise.
If someone runs into a similar issue, the root cause was brew'ssitecustomize.py
that was modified during an upgrade to make existing virtual env's compatible with prior releases. To fix the issue:
brew uninstall python
rm -r /usr/local/lib/python3.7
brew install python
I am able to recreate an issue that we are seeing in our builds by running rules_pip/examples/tests:
The output of
bazel version
:Any ideas?