mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-14 14:16:39 +00:00
Get certifi to fix the underlying problem
Having certifi magically makes setuptools able to talk to PyPI. Whew!
This commit is contained in:
parent
6a0fda7ae5
commit
531ac8474b
@ -14,7 +14,7 @@ sudo --set-home -u nobody virtualenv --python python2.7 /tmp/tests
|
||||
# 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
|
||||
sudo --set-home -u nobody /tmp/tests/bin/pip install 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}
|
||||
|
13
tox.ini
13
tox.ini
@ -14,12 +14,13 @@ skipsdist = True
|
||||
[testenv]
|
||||
basepython=python2.7
|
||||
passenv = TAHOE_LAFS_* USERPROFILE HOMEDRIVE HOMEPATH
|
||||
# Pre-install "incremental" to avoid bug #2913. Basically if Twisted's
|
||||
# setup_requires=["incremental"] causes this to be installed (with
|
||||
# setuptools), then it'll fail on travis's OS-X 10.12 machines when PyPI
|
||||
# disables access with TLS-1.1 or older, so we have to install it ahead of
|
||||
# time (with pip).
|
||||
deps = incremental
|
||||
# Get "certifi" to avoid bug #2913. Basically if a `setup_requires=...` causes
|
||||
# a package to be installed (with setuptools) then it'll fail on certain
|
||||
# platforms (travis's OX-X 10.12, Slackware 14.2) because PyPI's TLS
|
||||
# requirements (TLS >= 1.2) are incompatible with the old TLS clients
|
||||
# available to those systems. Installing it ahead of time (with pip) avoids
|
||||
# this problem.
|
||||
deps = certifi
|
||||
# We add usedevelop=True for speed, and extras=test to get things like "mock"
|
||||
# that are required for our unit tests.
|
||||
usedevelop = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user