[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1464: stronger isolation between the Python libraries imported by build steps and those used by buildbot

Tahoe-LAFS trac at tahoe-lafs.org
Sun Mar 27 18:34:53 UTC 2016


#1464: stronger isolation between the Python libraries imported by build steps and
those used by buildbot
------------------------------------+--------------------------------------
     Reporter:  davidsarah          |      Owner:  somebody
         Type:  defect              |     Status:  closed
     Priority:  major               |  Milestone:  1.11.0
    Component:  dev-infrastructure  |    Version:  1.8.2
   Resolution:  fixed               |   Keywords:  buildbot twisted pywin32
Launchpad Bug:                      |
------------------------------------+--------------------------------------
Changes (by warner):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  undecided => 1.11.0


Old description:

> buildbot uses some of the same Python libraries as Tahoe, for example
> Twisted and pywin32. This creates problems for build steps that want to
> test what happens when those libraries are not installed, or when a
> version that is not compatible with buildbot is installed.
>
> #1334 is a special case of this problem, and it also affects #1346.
>
> Possible solutions include using virtualenv, or setting up PYTHONPATH
> differently for buildbot and for the code under test.

New description:

 buildbot uses some of the same Python libraries as Tahoe, for example
 Twisted and pywin32. This creates problems for build steps that want to
 test what happens when those libraries are not installed, or when a
 version that is not compatible with buildbot is installed.

 #1334 is a special case of this problem, and it also affects #1346.

 Possible solutions include using virtualenv, or setting up PYTHONPATH
 differently for buildbot and for the code under test.

--

Comment:

 We now use tox and virtualenv, which gives us the isolation we need.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1464#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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