[tahoe-lafs-trac-stream] [tahoe-lafs] #1334: can't test on buildslaves that we don't depend on pywin32

tahoe-lafs trac at tahoe-lafs.org
Wed Jul 20 18:56:02 PDT 2011


#1334: can't test on buildslaves that we don't depend on pywin32
------------------------------------+--------------------------------------
     Reporter:  davidsarah          |      Owner:  davidsarah
         Type:  defect              |     Status:  assigned
     Priority:  major               |  Milestone:  1.9.0
    Component:  dev-infrastructure  |    Version:  1.8.1
   Resolution:                      |   Keywords:  buildbot windows pywin32
Launchpad Bug:                      |
------------------------------------+--------------------------------------

Comment (by davidsarah):

 Replying to [comment:3 davidsarah]:
 > Oh hang on, maybe it's not necessary that pywin32 not be installed in
 order for us to check that we don't import it. We can have a test that
 runs last and does {{{self.failIfIn("pywin32", sys.modules)}}}.

 Unfortunately it wasn't as simple as that. Several of our dependencies
 (for example, Twisted) will try to import pywin32 modules, even though
 they tolerate unavailability of those modules. So we have to block loading
 of pywin32 (and do so fairly early, before we've tried to import any such
 dependencies) in order to be able to test that we don't need it.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1334#comment:7>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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