Update the dependency on Twisted to >= 10.1. This allows us to simplify some documentation: it's no longer necessary to install pywin32 on Windows, or apply a patch to Twisted in order to use the FTP frontend. fixes #1274, #1438. refs #1429

This commit is contained in:
david-sarah 2011-07-21 16:36:58 -07:00
parent 91c7cf9007
commit 8b40826774
5 changed files with 18 additions and 18 deletions

View File

@ -12,8 +12,19 @@ Release 1.9.0 (2011-??-??)
will throw an exception if they gather stats from a new storage will throw an exception if they gather stats from a new storage
server and it sends a "None" for a percentile. (`#1392`_) server and it sends a "None" for a percentile. (`#1392`_)
Compatibility and Dependencies
''''''''''''''''''''''''''''''
- The Twisted dependency has been raised to version 10.1. This ensures
that we no longer require pywin32 on Windows, and that it is never
necessary to patch Twisted in order to use the FTP frontend.
(`#1274`_, `#1438`_)
.. _`#1274`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1274
.. _`#1392`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1392 .. _`#1392`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1392
.. _`#1409`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1409 .. _`#1409`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1409
.. _`#1438`: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1438
Release 1.8.2 (2011-01-30) Release 1.8.2 (2011-01-30)
-------------------------- --------------------------

View File

@ -178,14 +178,6 @@ uses (which is a Python wrapper around the C++ -based Crypto++ library, a
library that is frequently installed as /usr/lib/libcryptopp.a, to avoid library that is frequently installed as /usr/lib/libcryptopp.a, to avoid
problems with non-alphanumerics in filenames). problems with non-alphanumerics in filenames).
The FTP server requires code in Twisted that enables asynchronous closing of
file-upload operations. This code is present in Twisted-10.1 (released
27-June-2010), but not in Twisted-10.0 (released 01-March-2010). To use
Tahoe-LAFS's FTP server with Twisted-10.0 or earlier, you will need to apply
the patch attached to http://twistedmatrix.com/trac/ticket/3462 . The
Tahoe-LAFS node will refuse to start the FTP server unless it detects the
necessary support code in Twisted. This patch is not needed for SFTP.
Immutable and Mutable Files Immutable and Mutable Files
=========================== ===========================

View File

@ -38,13 +38,6 @@ install Python v2.6. Make sure that the path to the installation
directory has no spaces in it (e.g. on Windows, do not install Python directory has no spaces in it (e.g. on Windows, do not install Python
in the "Program Files" directory). in the "Program Files" directory).
If you are on Windows, you now must manually install the pywin32
package from `the pywin32 site
<http://sourceforge.net/projects/pywin32/files/>`_ before getting
Tahoe-LAFS. Make sure to get the correct file for the version of Python
you are using -- e.g. ending in "py2.6.exe" for Python v2.6. If using
64-bit Windows, the file should have "win-amd64" in its name.
Get Tahoe-LAFS Get Tahoe-LAFS
-------------- --------------

View File

@ -140,8 +140,9 @@ setup_requires.append('darcsver >= 1.7.2')
# the requirement before Nevow's setup.py tries to "import twisted". # the requirement before Nevow's setup.py tries to "import twisted".
# This only matters when Twisted is not already installed. # This only matters when Twisted is not already installed.
# See http://divmod.org/trac/ticket/2629 # See http://divmod.org/trac/ticket/2629
# Retire this hack if/when we require Nevow >= 0.9.33. # Retire this hack when
setup_requires.append('Twisted >= 2.4.0') # https://bugs.launchpad.net/nevow/+bug/812537 has been fixed.
setup_requires += [req for req in install_requires if req.startswith('Twisted')]
# setuptools_darcs is required to produce complete distributions (such # setuptools_darcs is required to produce complete distributions (such
# as with "sdist" or "bdist_egg"), unless there is a # as with "sdist" or "bdist_egg"), unless there is a

View File

@ -16,7 +16,10 @@ install_requires = [
"zope.interface", "zope.interface",
"Twisted >= 2.4.0", # On Windows we need at least Twisted 9.0 to avoid an indirect dependency on pywin32.
# We also need Twisted 10.1 for the FTP frontend in order for Twisted's FTP server to
# support asynchronous close.
"Twisted >= 10.1.0",
# foolscap < 0.5.1 had a performance bug which spent # foolscap < 0.5.1 had a performance bug which spent
# O(N**2) CPU for transferring large mutable files # O(N**2) CPU for transferring large mutable files