mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-03 00:00:55 +00:00
tox.ini: use --editable to work around old-pip bug
One of the buildslaves (Ubuntu wily 15.10) has a very old pip-1.5.6, which doesn't know how to "pip install" a filepath+extra (like ".[test]") unless --editable is also used. It's convenient to have --editable set anyways (so you can do subsequent narrow testing without re-running tox, by running ".tox/py27/bin/trial TESTCASE" or use .tox/py27/bin/activate), so changing the dependency from ".[test]" to "--editable=.[test]" is the easiest way to work around that older buildslave. (I could also have upgraded the buildslave to use a newer pip, but 15.10 is pretty recent and other people will probably hit this too, so this way it's fixed for everybody). refs ticket:2776
This commit is contained in:
parent
23f871a409
commit
c97e8520f4
6
tox.ini
6
tox.ini
@ -8,7 +8,7 @@ envlist = py27
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = USERPROFILE HOMEDRIVE HOMEPATH
|
passenv = USERPROFILE HOMEDRIVE HOMEPATH
|
||||||
deps = .[test]
|
deps = --editable=.[test]
|
||||||
commands =
|
commands =
|
||||||
tahoe --version
|
tahoe --version
|
||||||
trial --rterrors {posargs:allmydata}
|
trial --rterrors {posargs:allmydata}
|
||||||
@ -16,7 +16,7 @@ commands =
|
|||||||
[testenv:deprecations]
|
[testenv:deprecations]
|
||||||
basepython=python2.7
|
basepython=python2.7
|
||||||
passenv = USERPROFILE HOMEDRIVE HOMEPATH
|
passenv = USERPROFILE HOMEDRIVE HOMEPATH
|
||||||
deps = .[test]
|
deps = --editable=.[test]
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
commands =
|
commands =
|
||||||
@ -28,7 +28,7 @@ passenv = USERPROFILE HOMEDRIVE HOMEPATH
|
|||||||
setenv =
|
setenv =
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
deps =
|
deps =
|
||||||
.[test]
|
--editable=.[test]
|
||||||
git+https://github.com/twisted/twisted
|
git+https://github.com/twisted/twisted
|
||||||
git+https://github.com/warner/foolscap
|
git+https://github.com/warner/foolscap
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user