On Thu, Jan 6, 2011 at 2:11 AM, David-Sarah Hopwood
<david-sa...@jacaranda.org> wrote:
>
> This checks the Twisted version at the time of the build. If the user later
> installs Twisted 10.2 but still has foolscap 0.5.1, the Tahoe installation
> will break, and the user will have to rebuild it.

Good point, but how could it be otherwise? The only thing that could
avoid this would be if executing tahoe at runtime triggered automatic
installation of new versions of dependencies. I'm sure nobody here
wants that. :-)

The best thing we could do in that case, I believe, is emit a specific
error message saying that we require foolscap >= 0.6, perhaps with an
associated comment saying that the reason we require foolscap >= 0.6
is that we have Twisted >= 10.2.

Hm, oh look! That's exactly what tahoe will do:

http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/src/allmydata/_auto_deps.py?annotate=blame&rev=4893#L99

Regards,

Zooko
_______________________________________________
tahoe-dev mailing list
tahoe-dev@tahoe-lafs.org
http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to