allura_issues: use Requests to avoid HTTPS issues.#4
allura_issues: use Requests to avoid HTTPS issues.#4avm wants to merge 1 commit intogperciva:masterfrom
Conversation
|
Why is |
|
ca-certificates does not exist on Mac OS, whereas `pip install requests` works fine.I could provide a fallback to `urllib.urlopen` if a hard dependency on Requests is unacceptable.
|
|
Good reason to change something! I'd still like a bit more info. Is this with python 2 or 3? And what version of OSX? I know that the script just calls For python 3 and OSX 10.11+, it looks like another solution is: |
|
PS: hmm, casual skimming suggests that this readme does involve installing I'm tentatively ok with this PR, but I'd like a bit more time to think about it. I'm still curious about the python and OSX versions involved, though. |
|
I'm on OS X 10.11.6 (El Capitan). With This does not happen with other sites, so there is probably an incompatibility in the versions of OpenSSL or whatever, I don't see a way to fix it. With Homebrew-installed Python 2.7, (Didn't test with Python 3, as it does not have |
|
This reminds me: it's probably better to use |
The Requests library uses the Certifi list of certificates, so you don't have to install ca-certificates to work with Sourceforge or the likes.
(The downside is, of course, that you have to install Requests.)