[tahoe-lafs-trac-stream] [tahoe-lafs] #1274: eliminate pywin32 dependency

tahoe-lafs trac at tahoe-lafs.org
Sun Jun 12 06:47:44 PDT 2011


#1274: eliminate pywin32 dependency
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  warner
  davidsarah             |     Status:  reopened
         Type:  defect   |  Milestone:  1.8.2
     Priority:  major    |    Version:  1.8.0
    Component:  code-    |   Keywords:  pywin32 windows win64 install
  storage                |  twisted review-needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 I looked at the patch itself and saw no bug in it. I wonder about raising
 the required version of Twisted, though. It is a shame to prevent someone
 using Debian Lenny, or Ubuntu Hardy from installing Tahoe-LAFS v1.9.0
 using their pre-packaged version of Twisted:

 http://packages.debian.org/search?keywords=twisted&searchon=names&suite=all&section=all

 http://packages.ubuntu.com/search?keywords=twisted&searchon=names&suite=all&section=all

 I'd like to know what Brian thinks.

 Making it conditional on the platform might not be a good idea--although
 that works when Tahoe-LAFS is being built by having its source:setup.py
 file executed, there is no way to encode it into the resulting
 {{{src/allmydata_tahoe.egg-info/requires.txt}}} file, so if someone were
 to build a Tahoe-LAFS egg, that egg would come with metadata indicating a
 Twisted version requirement depending on what platform the egg was built
 on, although the egg itself would be platform-independent. This sort of
 thing could lead to confusion in the future, and we have enough confusion
 with regard to packaging as it is. (We already do a similar dependency
 version conditioned on platform for pycryptopp: http://tahoe-lafs.org/trac
 /tahoe-
 lafs/browser/trunk/src/allmydata/_auto_deps.py?annotate=blame&rev=4976#L64
 . I suppose that too is potentially a source of confusion.)

 {{{
 $ cat src/allmydata_tahoe.egg-info/requires.txt
 setuptools >= 0.6c6
 zfec >= 1.1.0
 simplejson >= 1.4
 zope.interface
 Twisted >= 2.4.0
 foolscap[secure_connections] >= 0.6.1
 Nevow >= 0.6.0
 pycrypto == 2.0.1, == 2.1.0, >= 2.3
 pyasn1 >= 0.0.8a
 mock
 }}}

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


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