From 8ba5de75ab93064e03e450613f321281eed88ee8 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jul 26 2018 03:25:59 +0000 Subject: [PATCH 1/2] Set PYCURL_SSL_LIBRARY directly for installing pycurl Since Fedora 27, openssl is the backend of libcurl. Refer to https://fedoraproject.org/wiki/Changes/libcurlBackToOpenSSL Signed-off-by: Chenxiong Qi --- diff --git a/tox.ini b/tox.ini index a0e1b30..3bc6544 100644 --- a/tox.ini +++ b/tox.ini @@ -8,8 +8,9 @@ deps = -r{toxinidir}/tests-requirements.txt passenv=PYTHONPATH commands = - {toxinidir}/pip-pycurl nosetests {posargs} +setenv= + PYCURL_SSL_LIBRARY=openssl [testenv:py26] commands = From e040c9bbeaa5123d62e3e46660235bd1f56a6ad2 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jul 26 2018 03:27:10 +0000 Subject: [PATCH 2/2] Add py37 testenv Signed-off-by: Chenxiong Qi --- diff --git a/tox.ini b/tox.ini index 3bc6544..1014d56 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py36,flake8 +envlist = py26,py27,py36,py37,flake8 [testenv] sitepackages=True