From 4f3809ed7f29dc612536ee2501dbda7951efb0bd Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 4 Jul 2018 11:19:50 -0400 Subject: [PATCH] Attempt to get setuptools SSL client working --- .circleci/setup-virtualenv.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/setup-virtualenv.sh b/.circleci/setup-virtualenv.sh index 690609777..5e8668126 100755 --- a/.circleci/setup-virtualenv.sh +++ b/.circleci/setup-virtualenv.sh @@ -9,6 +9,12 @@ shift || : # Set up the virtualenv as a non-root user so we can run the test suite as a # non-root user. See below. sudo --set-home -u nobody virtualenv --python python2.7 /tmp/tests -sudo --set-home -u nobody /tmp/tests/bin/pip install tox codecov -# Get everything installed in it, too. + +# Slackware has non-working SSL support in setuptools until certifi is +# installed. SSL support in setuptools is needed in case packages use +# `setup_requires` which gets satisfied by setuptools instead of by pip. +# txi2p (vcversioner) is one such package. Twisted (incremental) is another. +sudo --set-home -u nobody /tmp/tests/bin/pip install certifi tox codecov + +# Get everything else installed in it, too. sudo --set-home -u nobody /tmp/tests/bin/tox -c /tmp/project/tox.ini --workdir /tmp --notest -e "${TAHOE_LAFS_TOX_ENVIRONMENT}" ${TAHOE_LAFS_TOX_ARGS}