attempt to work around the pip build isolation problem

This commit is contained in:
Jean-Paul Calderone 2018-08-06 11:53:19 -04:00
parent b13f1cc531
commit 70589aab3d

View File

@ -14,6 +14,13 @@ skipsdist = True
[testenv]
basepython=python2.7
passenv = TAHOE_LAFS_* PIP_* SUBUNITREPORTER_* USERPROFILE HOMEDRIVE HOMEPATH
setenv =
# With pip >= 10 the existence of pyproject.toml (which we are required
# to have to configure towncrier) triggers a "build isolation" mode
# which prevents anything from working. Un-trigger this pip behavior
# so that packages pre-installed in a virtualenv are available.
PIP_NO_BUILD_ISOLATION=1
# 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