Re: [Module-build-general] conflicts and test_requires
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <ke...@ma...> - 2003-02-04 03:52:39
|
On Monday, February 3, 2003, at 01:25 PM, Dave Rolsky wrote: > There probably needs to be a command line flag to ignore conflicts, or > else a module that specifies conflicts could be entirely uninstallable. What do you mean by "uninstallable"? The 'conflicts' entries should really just generate a warning/error that can be ignored if installing by hand, so I'm not sure a special flag is necessary. > Also, was there discussion about a "test_requires" option, so that > tests > could be skipped if certain modules weren't installed? Seems like a > useful option. I don't remember such a discussion - I've been thinking of this as the primary reason someone might want to put something in the "build_requires" field, since typically the actual *building* doesn't require any special tools. But I suppose sometimes it does, like if some C library is statically compiled into the module's loadable parts. Do you think it would be very useful to split test_requires off from build_requires? I'm inclined to leave them as one field, emphasizing that testing should usually be a part of the build process. -Ken |