VcamX has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/227239

Change subject: [FIX] Failed Appveyor builds
......................................................................

[FIX] Failed Appveyor builds

The Appveyor builds are failing to build the dependencies needed for
requests[security].

Bug: T106512
Change-Id: Ifadcd4973f3cead71151bc3a87f8c43d53fa0073
---
M .appveyor.yml
A requests-requirements.txt
2 files changed, 15 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/39/227239/1

diff --git a/.appveyor.yml b/.appveyor.yml
index acd7c07..caee506 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -37,9 +37,9 @@
       PYTHON_VERSION: "3.3.0"
       PYTHON_ARCH: "64"
 
-    - PYTHON: "C:\\Python340-x64"
-      PYTHON_VERSION: "3.4.0"
-      PYTHON_ARCH: "64"
+    #- PYTHON: "C:\\Python340-x64"
+    #  PYTHON_VERSION: "3.4.0"
+    #  PYTHON_ARCH: "64"
 
     # Appveyor pre-installs these versions onto build machines
 
@@ -82,7 +82,7 @@
   # This is needed for Python versions not installed on Appveyor build machines
   - ps: if (-not(Test-Path($env:PYTHON))) { iex 
$wc.DownloadString($env:APPVEYOR_PYTHON_URL + 'install.ps1') }
   - pip install -r dev-requirements.txt
-  - pip install requests
+  - pip install -r requests-requirements.txt
 
 build: off
 
diff --git a/requests-requirements.txt b/requests-requirements.txt
new file mode 100644
index 0000000..2923433
--- /dev/null
+++ b/requests-requirements.txt
@@ -0,0 +1,11 @@
+requests
+
+# Dependency of pyOpenSSL. Use specific version to avoid expected
+# DeprecationWarning
+cryptography<=0.8.2 ; python_version < '2.7'
+
+# requests security extra
+# Bug T105767 on Python 2.7 release 9+
+pyOpenSSL ; python_full_version < '2.7.9' or python_version >= '3'
+ndg-httpsclient ; python_full_version < '2.7.9' or python_version >= '3'
+pyasn1 ; python_full_version < '2.7.9' or python_version >= '3'

-- 
To view, visit https://gerrit.wikimedia.org/r/227239
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifadcd4973f3cead71151bc3a87f8c43d53fa0073
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: VcamX <vca...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to