launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09792
Re: Requirements and constraints
On 19 November 2015 at 06:04, Barry Warsaw <barry@xxxxxxxxxx> wrote:
> On Nov 18, 2015, at 03:03 PM, Colin Watson wrote:
>
>> * projects using buildout (Launchpad itself; lazr.* and friends)
>
> Note that several of the lazr packages that I've touched recently-ish
> (e.g. smtptest[*], config, delegates) I've already de-buildout-ified and
> converted to tox. tox is not only a great multi-version test regime, but the
> virtualenvs it builds are perfectly suitable for all the normal venv-y stuff
> you might want to do while developing a library. You can also relegate the
> test-requirements (i.e. non-runtime reqs) to the tox.ini so as to keep the
> setup.py fairly clean for better integration with distro tools like pybuild.
>
> I recommend we standardize on tox.
I don't like having dependencies in tox: its not machine
introspectable. Better to put them somewhere else - e.g.
test-requirements.txt; the test extra in a project (for instance
https://github.com/testing-cabal/testtools/blob/master/setup.cfg#L13 )
and then consume that from tox.
-Rob
--
Robert Collins <rbtcollins@xxxxxx>
Distinguished Technologist
HP Converged Cloud
References