diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-10-23 05:35:11 -0700 |
---|---|---|
committer | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2017-10-23 07:35:11 -0500 |
commit | 8d0f995dafda7105a6966057fd11383f1ea6fb71 (patch) | |
tree | 172ca154b06c843730b8611fbf548e0b0ba3fa1e | |
parent | d004fbdc1f0290c5261f8cec43db56ab005a6a77 (diff) | |
download | pyflakes-8d0f995dafda7105a6966057fd11383f1ea6fb71.tar.gz |
Fix failed AppVeyor web requests (#309)
Allow we requests to servers that only support TLS 1.2. Previously
failed with the error:
Exception calling "DownloadFile" with "2" argument(s): "The request
was aborted: Could not create SSL/TLS secure channel."
Was marking all contributions as broken which is not helpful for
reviewing.
Fixes #308
-rw-r--r-- | .appveyor.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 4011606..41b1dbb 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,7 @@ # To activate, change the Appveyor settings to use `.appveyor.yml`. install: + - ps: "[Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12" + - python -m pip install --upgrade virtualenv pip setuptools tox # Fetch the three main PyPy releases |