jenkins-bot has submitted this change and it was merged.
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(+), 1 deletion(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index 1befd5d..c2ffc88 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -78,8 +78,11 @@
# 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 virtualenv + - virtualenv env + - env\Scripts\activate.bat - 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'
pywikibot-commits@lists.wikimedia.org