Changeset 2ebaa916 in trunk


Ignore:
Timestamp:
2011-07-21T23:49:41Z (14 years ago)
Author:
david-sarah <david-sarah@…>
Branches:
master
Children:
da58fef
Parents:
0f83b761
Message:

Update the dependency on zope.interface to fix an incompatiblity between Nevow and zope.interface 3.6.4. fixes #1435

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified NEWS.rst

    r0f83b761 r2ebaa916  
    1616''''''''''''''''''''''''''''''
    1717
     18- An incompatibility of zope.interface version 3.6.4 with Nevow has
     19  been resolved. Tahoe-LAFS now requires one of the exact versions
     20  v3.3.1, v3.5.3, or v3.6.1 of zope.interface. (`#1435`_)
    1821- The Twisted dependency has been raised to version 10.1. This ensures
    1922  that we no longer require pywin32 on Windows, and that it is never
     
    2427.. _`#1392`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1392
    2528.. _`#1409`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1409
     29.. _`#1435`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1435
    2630.. _`#1438`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1438
    2731
  • TabularUnified setup.py

    r0f83b761 r2ebaa916  
    136136setup_requires.append('darcsver >= 1.7.2')
    137137
    138 # Nevow requires Twisted to setup, but prior to Nevow v0.9.33, didn't
    139 # declare that requirement in a way that enables setuptools to satisfy
    140 # the requirement before Nevow's setup.py tries to "import twisted".
    141 # This only matters when Twisted is not already installed.
    142 # See http://divmod.org/trac/ticket/2629
    143 # Retire this hack when
     138# Nevow imports itself when building, which causes Twisted and zope.interface
     139# to be imported. We need to make sure that the versions of Twisted and
     140# zope.interface used at build time satisfy Nevow's requirements. If not
     141# then there are two problems:
     142#  - prior to Nevow v0.9.33, Nevow didn't declare its dependency on Twisted
     143#    in a way that enabled setuptools to satisfy that requirement at
     144#    build time.
     145#  - some versions of zope.interface, e.g. v3.6.4, are incompatible with
     146#    Nevow, and we need to avoid those both at build and run-time.
     147#
     148# This only matters when compatible versions of Twisted and zope.interface
     149# are not already installed. Retire this hack when
    144150# https://bugs.launchpad.net/nevow/+bug/812537 has been fixed.
    145 setup_requires += [req for req in install_requires if req.startswith('Twisted')]
     151setup_requires += [req for req in install_requires if req.startswith('Twisted') or req.startswith('zope.interface')]
    146152
    147153# setuptools_darcs is required to produce complete distributions (such
  • TabularUnified src/allmydata/_auto_deps.py

    r0f83b761 r2ebaa916  
    1515    "simplejson >= 1.4",
    1616
    17     "zope.interface",
     17    # zope.interface 3.6.4 is incompatible with Nevow.
     18    # These are the versions packaged in major versions of Debian or Ubuntu, or in pkgsrc.
     19    "zope.interface == 3.3.1, == 3.5.3, == 3.6.1",
    1820
    1921    # On Windows we need at least Twisted 9.0 to avoid an indirect dependency on pywin32.
Note: See TracChangeset for help on using the changeset viewer.