[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 18:52:04 UTC 2016


#2776: add `[test]` "extra" to pull in testing-only dependencies
-----------------------+---------------------------
 Reporter:  warner     |          Owner:  daira
     Type:  task       |         Status:  new
 Priority:  normal     |      Milestone:  undecided
Component:  packaging  |        Version:  1.11.0
 Keywords:             |  Launchpad Bug:
-----------------------+---------------------------
 I'm seeing other projects declare the dependencies that they only need for
 testing (like `py.test`, `coverage`, and `mock`) by using a `[test]`
 extra. So things like `.travis.yml` and `tox.ini` will use:

 {{{
 deps = .[test]
 }}}

 I'm thinking we should add this to Tahoe.

 Our docs (for setting up a virtualenv for hacking) will need to mention
 `pip install -e .[test]` instead of just `pip install -e .`.

 This will make it easier to include modern testing facilities like `mock`.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2776>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list