[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2776: add `[test]` "extra" to pull in testing-only dependencies
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Apr 12 21:33:13 UTC 2016
#2776: add `[test]` "extra" to pull in testing-only dependencies
---------------------------+-----------------------
Reporter: warner | Owner: daira
Type: task | Status: closed
Priority: normal | Milestone: undecided
Component: packaging | Version: 1.11.0
Resolution: fixed | Keywords:
Launchpad Bug: |
---------------------------+-----------------------
Comment (by Brian Warner <warner@…>):
In [changeset:"c97e8520f4fa5d3e48191ff3719f0dd8eb411073/trunk"
c97e852/trunk]:
{{{
#!CommitTicketReference repository="trunk"
revision="c97e8520f4fa5d3e48191ff3719f0dd8eb411073"
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
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2776#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list