Due to OpenSSL 1.0 deprecation, we had to update numerous tools on Xcode stacks retroactivly. This affects OpenSSL itselfs, Ruby and a couple other tool, see changelog for details.
Its likely because python@2 needs to be reinstalled to link with the new openssl.
I would suggest anything in brew that depends on openssl needs to be reinstalled.
We checked your error, the build fails at the pip install. Python 2 support ends in January 1, 2020, which means the pip will be deprecated in 14 days. please try the pip3 install ... command, that is the official way to install anything for python v3.
Thanks for your suggestion, we already reinstalled in brew what depends on openssl.
Python 2 support may be ending on 1st Jan, but python 2 is disappearing.
Are you implying the bitrise has practically stopped supporting python 2? Because, if thatâs the case, that will be news to a lot of bitrise users.
Its fairly trivial for me to make the change, but I am not sure if that will be the case for others.
I would have expected at least a warning and deprecation notice that python2/pip will stop working on bitrise machines.
Python 2 isnât disappearing, the macos system default python 2 will be available.
Pip is the component which was previously available due to the brew python@2 package, itâs not available by default on macOS and so when we remove the python@2 package (brew uninstall) pip âdisappearsâ.
Weâll definitely do better next time when we identify a change like this, but there thing is, this was a hidden dependency (python@2) which came as a dependency of another brew installed tool. Python@2 was never specifically installed by us and so we didnât have regression tests for it either. (The complete provisioning repo is open source https://github.com/bitrise-io/osx-box-bootstrap )
Breaking anything wasnât our intention, what we discovered was that certain tools that depended on python@2 were crashing so we brew reinstalled those tools, which also means that python@2 isnât referenced by any tool anymore (as the toolsâ python dependency is getting updated in brew due to their python@2 removal), and thatâs whatâs causing the issues (triggered by openssl 1.0 removal from brew which somehow broke python@2).
Weâll work on detecting these âhiddenâ dependency changes better in the future as well as adding more regression tests to our stack testing suite.
@viktorbenei FYI, not only pip but also easy_install was broken due to python-related changes.
I havenât analysed deeply the reason but e.g. flutter step stopped working on MacOS stack.
In all cases so far we found the issue to be related to the broken python@2 package, thatâs why we plan to remove that from all stacks.
But itâs certainly possible that something else also broke due to brewâs changes, so if you have any other example we should look into please let us know @koral and weâll make sure to test it along with the python@2 removal.
I checked the issue and it seems thatâs also related to the lingering python@2 package issue - the path in the reported issue also matches that, File "/usr/local/Cellar/python@2/2.7.16/...