-
Notifications
You must be signed in to change notification settings - Fork 56
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
Does not work with PyOpenSSL from Mac OSX #41
Comments
elreydetodo
added a commit
to elreydetodo/AkamaiOPEN-edgegrid-python
that referenced
this issue
Jun 17, 2019
Mac OSX includes pyOpenSSL 0.13.1, which is too old to actually use this library with Python < 3. The requirement is not specific enough to address this problem, so this patch simply sets a more reasonable minimum version. Mac OSX users will need to upgrade their local version of pyOpenSSL to use edgegrid-python or egcurl. Here is the relevant command: pip install -U pyOpenSSL
This will be done in next release |
Hi @elreydetodo, Thanks for creating this ticket, it has been addressed in our latest release. Regards Roberto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: