Created originally on Bitbucket by danchr (Dan Villiom Podlaski Christiansen)
Was already merged in Bitbucket before import, marked as merged by the import user
This is an experimental branch for allowing the Mac builders to build PyPy3. Essentially, it requires more dependencies that PyPy2, and doesn't work with the old version of OpenSSL available with OS X.
I've attempted to address this by adding support to package.py
for fetching, building and embedding dependencies. SSL is slightly more complicated than the others however, as the OpenSSL that Apple bundled contained a patch to use the OS X certificate roots.
I tried porting the patch directly to LibreSSL, but the necessary headers aren't publicly available so I couldn't build it. Instead, I wrote something similar using public APIs that Should Work™ but isn't terribly well-tested. The alternatives are either bundling a full install of LibreSSL or shipping without any root certificates.
I've made downloading dependencies the default on OS X when using package.py
, but not elsewhere. The setting is easily disabled.
Is this approach interesting?