On the 11th April, my savings countdown script stopped working, this is setup to automatically run so because I have been a tad bust I didn't notice for a couple of days.
So this was not creating the task in Trello for me, it seemed this is when the Python v1 ssl libraries stopped working. This was on my old trusty iMac workhorse, script still worked ok when run manually on my laptop.
I had to leave it as I have been too busy to sort it this week, but this has been annoying me. So today I had some time to sort this out, and it was not a simple fix it became a bit of a mission.
I headed over to down load the latest OpenSSL for Python, this was pyOpenSSL-17.5.0. Downloaded it, unzipped and ready to type python setup.py install and in 5 minutes I will be sorted, no.
I ran the above and thought I would be good, however i got the following
Installed /Library/Python/2.7/site-packages/pyOpenSSL-17.5.0-py2.7.egg Processing dependencies for pyOpenSSL==17.5.0 Searching for cryptography>=2.1.4 Reading https://pypi.python.org/simple/cryptography/ Download error on https://pypi.python.org/simple/cryptography/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found! Couldn't find index page for 'cryptography' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found! No local packages or download links found for cryptography>=2.1.4 error: Could not find suitable distribution for Requirement.parse('cryptography>=2.1.4')
So now of course as you can't download the packages because of the SSL issue you are in a vicious circle as you need to upgrade versions, but you can't download the latest. So I head off to manually download the latest crypto package, this was cryptography-2.2.2.
Unzip, run python setup.py install and then get
Traceback (most recent call last): File "setup.py", line 28, in module "cryptography requires setuptools 18.5 or newer, please upgrade to a " RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
Then a whole new saga begins, I will continue that in part 2.
I am always interested in your thoughts so if you have any comments or feedback then please feel free to add any comments, or you can mail me here.