Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
docs: Document Python TLS requirements #12276
This PR provides a simple test script that confirms for people whether or not they need to update Python as well as documentation for how to do so.
Just recommending to update Python for all users is a bit of overkill - users on High Sierra are fine even with an older version of Python; Linux users may be fine with whatever version they have, depending on distro and OpenSSL; Windows users are (as far as I can tell) fine no matter what.
So, new script:
$ python ./script/check-tls.py $ Your Python is using TLS 1.2, which is sufficient for building Electron.
If things don't look good:
$ python ./script/check-tls.py $ Your system/python combination is using an outdated security protocol and will not $ be able to compile Electron. Please see ./docs/development/build-instructions-osx.md.