[Zope-dev] SVN: zope.dublincore/trunk/ Move test-dependencies to 'extras'.

Tres Seaver tseaver at palladion.com
Fri Aug 29 19:39:58 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fred Drake wrote:
> On Fri, Aug 29, 2008 at 5:26 PM, Malthe Borch <mborch at gmail.com> wrote:
>> I didn't know there was a controversy, but I do remember that there was
>> consensus that ``extras_require`` is not the most elegant solution.
> 
> Oh, there is!
> 
>> If you can advise a different way to avoid pulling in
>> ``zope.app.testing`` I'm happy to revert the change; otherwise I think
>> we should live and let live with it since it at the very least does the job.
> 
> There's no good way to avoid dependencies like zope.app.testing;
> because that's part of the test environment, the tests won't show
> whether there are problems when it's removed.  If you want to fly what
> you test, test dependencies can't be eliminated.

I don't want to have to run the tests for 'zope.dublincore' in *every*
system which uses it:  I want to test 'zope.dublincore' in isolation,
and then use a well-tested, "known good" version of it in other
applications, which may not need or want the 'zope.app.testing' dependency.

If zc.buildout would grow support for either 'tests_require' or a
special 'extras_require' key, you could still have what you want without
forcing it on the rest of the world.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIuIjO+gerLs4ltQ4RAq7MAJ0QU/OZGj+paO1dqp/iIsQ832UyfwCfd4ch
UmvWo2czCKJsVW5VlMz9pt8=
=W9vk
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list