Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer OpenSSL 1.1 only for specific python versions #1328

Merged
merged 6 commits into from
Apr 8, 2019

Conversation

yyuu
Copy link
Contributor

@yyuu yyuu commented Apr 8, 2019

Make sure you have checked all steps below.

Prerequisite

Description

  • Here are some details about my PR

In #1302, I've merged a PR that lets python-build to always prefer Homebrew's openssl@1.1 over openssl (=== OpenSSL 1.0). However, in fact, some of older python versions don't support OpenSSL 1.1 and it caused some build failures.

I ended up to tweak build definitions to add new parameter prefer_openssl11 to enable OpenSSL 1.1 only for some definitions.

Tests

  • My PR adds the following unit tests (if any)

cc: @ThomasWaldmann @cculianu

@cculianu
Copy link

cculianu commented Apr 8, 2019

This is brilliant. Looks great. Thanks so much for following up on this. Very happy with these changes. Much love for you and your project @yyuu

The fact that it's now toggled per-python version is ideal, really.

Thanks for merging the previous PR even though it was imperfect.. and then making it more perfect. :D

@yyuu yyuu merged commit 6efe9d1 into master Apr 8, 2019
@yyuu yyuu deleted the yy-prefer-openssl11 branch April 8, 2019 14:09
toslunar added a commit to toslunar/chainer that referenced this pull request Jul 22, 2019
This reverts commit d4051e9, reversing
changes made to 56cdf0e.

pyenv/pyenv#1328 has fixed the issue.
nijave added a commit to nijave/borg that referenced this pull request Apr 26, 2020
Docs aren't great but looks like you can specify a homebrew formula to use. If you don't, it looks like python-build ends up trying to use 1.1

https://github.com/pyenv/pyenv/blob/b1381d1d4630c5fb73517b78d68939663635311f/plugins/python-build/bin/python-build#L1512
pyenv/pyenv#1328
nijave added a commit to nijave/borg that referenced this pull request Apr 26, 2020
Homebrew formula python-build option

Docs aren't great but looks like you can specify a homebrew formula to use. If you don't, it looks like python-build ends up trying to use 1.1

https://github.com/pyenv/pyenv/blob/b1381d1d4630c5fb73517b78d68939663635311f/plugins/python-build/bin/python-build#L1512
pyenv/pyenv#1328
nijave added a commit to nijave/borg that referenced this pull request Apr 26, 2020
Homebrew formula python-build option

Docs aren't great but looks like you can specify a homebrew formula to use. If you don't, it looks like python-build ends up trying to use 1.1

https://github.com/pyenv/pyenv/blob/b1381d1d4630c5fb73517b78d68939663635311f/plugins/python-build/bin/python-build#L1512
pyenv/pyenv#1328
ThomasWaldmann pushed a commit to borgbackup/borg that referenced this pull request Jun 1, 2020
use rbenv openssl 1.0 so it doesn't use openssl 1.1.

Homebrew formula python-build option

Docs aren't great but looks like you can specify a homebrew formula to use. If you don't, it looks like python-build ends up trying to use 1.1.

https://github.com/pyenv/pyenv/blob/b1381d1d4630c5fb73517b78d68939663635311f/plugins/python-build/bin/python-build#L1512

pyenv/pyenv#1328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants