The version of pyOpenSSL included in base Mac OSX is incompatible with this library. As a result, users of egcurl get a misleading error message when they they try to run that script.
The version included with OSX is 0.13.1, which was released back in 2013. I am not sure what minimum version we really need, but I propose to set the minimum version in requirements.txt to 17.0.0, which was released in August 2017. The current version is 19.0.0, and we could reasonably pick that one too if we wanted.
It's worth noting that I think we only need this library if the user is using Python 2.7. There are some if statements that only import it if the Python major version is less than 3. Since Python 3 is more than 10 years old now it'd really be nice if Apple would upgrade their base Python version...
In the mean time, Mac OS users can upgrade their local pyOpenSSL version with this command:
pip install -U pyOpenSSL
Note that this is NOT run with sudo - that's very important. The -U argument instructs pip to install it into the user's home directory. You CANNOT successfully replace the system version of pyOpenSSL. The command will fail.
The version of pyOpenSSL included in base Mac OSX is incompatible with this library. As a result, users of egcurl get a misleading error message when they they try to run that script.
The version included with OSX is 0.13.1, which was released back in 2013. I am not sure what minimum version we really need, but I propose to set the minimum version in
requirements.txt
to 17.0.0, which was released in August 2017. The current version is 19.0.0, and we could reasonably pick that one too if we wanted.It's worth noting that I think we only need this library if the user is using Python 2.7. There are some if statements that only import it if the Python major version is less than 3. Since Python 3 is more than 10 years old now it'd really be nice if Apple would upgrade their base Python version...
In the mean time, Mac OS users can upgrade their local pyOpenSSL version with this command:
Note that this is NOT run with
sudo
- that's very important. The-U
argument instructspip
to install it into the user's home directory. You CANNOT successfully replace the system version of pyOpenSSL. The command will fail.