-
Notifications
You must be signed in to change notification settings - Fork 723
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
Python 3.7 will require OpenSSL 1.0.2+; 3.7-dev, 3.8-dev (nightly) do not work on Trusty #9069
Comments
Related: #9119 |
I got the following error when trying to install CPython git-master via pyenv:
(https://travis-ci.org/yan12125/python3-android/jobs/335168981) I guess it's related to this issue? The CPython commit that requires OpenSSL 1.0.2+ is merged 3 days ago: python/cpython@61d478c |
It's very likely. The ssl module in 3.7 no longer compiles with OpenSSL from Ubuntu 14.04. Check your configure output. On a system with compatible libssl, it looks like this:
If the second line ends with |
@yan12125 You are using pyenv, so I believe the fix will come from that tool, not Travis. |
The build cache was the only thing keeping 3.7.0a4 around; it can no longer be installed from pyenv. And I accidentaly deleted the master build cache, so we have no choice. It may be difficult to get 3.7b1 installed due to travis-ci/travis-ci#9069
travis-ci/docs-travis-ci-com#1710 adds a note to inform users that recent |
Because they don't support OpenSSL's 1.0.2 or newer API. See: travis-ci/travis-ci#9069 But, this will work locally with 3.7 - at least Python 3.7.0a2 (default, Oct 18 2017, 18:58:26) The requirements.txt fix in the last update fixes a compatibility issue that websockets handled 3 months ago but didn't update in versioning.
…-ci/travis-ci#9069" This reverts commit 505d383.
Is there a timeline for resolution here? |
I would like to have some visibility of the future plans for this issue. |
As the simplest workaround, change the following in your .travis.yml:
This solved the issue for me. Note: switching to Xenial is important. While deadsnakes also include a |
thanks @ambv for the tips at travis-ci/travis-ci#9069!
thanks @ambv for the tips at travis-ci/travis-ci#9069!
Unfortunately I find "xenial" quite flaky. They relatively often fail to boot or find |
Python 3.7 added in alignment with travis-ci/travis-ci#9069
Add Python 3.7 in alignment with travis-ci/travis-ci#9069
Fixes uber#175 * Add Python 3.7 in alignment with travis-ci/travis-ci#9069 * Add [flake8](http://flake8.pycqa.org) tests as discussed at uber#174 (comment)
Fixes #175 * Add Python 3.7 in alignment with travis-ci/travis-ci#9069 * Add [flake8](http://flake8.pycqa.org) tests as discussed at #174 (comment)
… requires a xenial VM
Upgrade to the production version of Python 3.7 in alignment with travis-ci/travis-ci#9069
Upgrade to the production version of Python 3.7 in alignment with travis-ci/travis-ci#9069 Also see the note about outdated Python versions on Trusty at: * https://docs.travis-ci.com/user/languages/python/#development-releases-support
Upgrade to production Python 3.7 in alignment with travis-ci/travis-ci#9069
Upgrade to the production version of Python 3.7 in alignment with travis-ci/travis-ci#9069 Also see the note about outdated Python versions on Trusty at: https://docs.travis-ci.com/user/languages/python/#development-releases-support
The configuration to get Python 3.7 is: language: python
sudo: required
dist: xenial
python: "3.7" Adjust accordingly if your build requires multiple jobs. |
PSA,
Python 3.7's ssl module will not work on Ubuntu 14.04 any more. I'm going to push several patches soon that depend on OpenSSL 1.0.2 or 1.1.0 APIs. See https://mail.python.org/pipermail/python-dev/2018-January/151718.html
The text was updated successfully, but these errors were encountered: