From 43247ce2da23929b990c574067fab973164e24fe Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jul 26 2018 03:27:44 +0000 Subject: [PATCH 1/2] Add py37 testenv Signed-off-by: Chenxiong Qi --- diff --git a/tox.ini b/tox.ini index 20487fa..f73f62b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py36,flake8 +envlist = py26,py27,py36,py37,flake8 [testenv] skip_install = True From 7af4afdc3ab0be8db471e85b534d5a9b25e9c296 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jul 26 2018 03:27:53 +0000 Subject: [PATCH 2/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 f73f62b..e75e89b 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,8 @@ deps = -r{toxinidir}/requirements/test-pypi.txt commands = nosetests {posargs} -passenv=PYCURL_SSL_LIBRARY +setenv= + PYCURL_SSL_LIBRARY=openssl [testenv:py26] commands =